-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authorization issue (403) after setting up authentication #1945
Comments
Your issue looks similar to this thread: Can you try to get additional logs, per my recommendations in that thread? |
Moved to 2:30 PT
From: Pamela Fox ***@***.***>
Reply-To: Azure-Samples/azure-search-openai-demo ***@***.***>
Date: Tuesday, September 3, 2024 at 4:40 PM
To: Azure-Samples/azure-search-openai-demo ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [Azure-Samples/azure-search-openai-demo] Authorization issue (403) after setting up authentication (Issue #1945)
CAUTION: This email originated from outside your organization. Exercise caution when opening attachments or clicking links, especially from unknown senders.
Your issue looks similar to this thread:
#1549<#1549>
Can you try to get additional logs, per my recommendations in that thread?
Does it work locally?
—
Reply to this email directly, view it on GitHub<#1945 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFZB2P5UBN5TUKGGAZJ237TZUZCFFAVCNFSM6AAAAABNKGOXC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRXGYZTCNJUGY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
***@***.*** would like to recall the message, "Re: [Azure-Samples/azure-search-openai-demo] Authorization issue (403) after setting up authentication (Issue #1945)".
|
Hi, I'm getting the same error message. Below you can find the error log. INFO:hypercorn.error:Running on http://127.0.0.1:50505 (CTRL + C to quit) |
This issue is for a: (mark with an
x
)I am facing an issue after trying to setup the authentication.
I followed manual setup instructions for the app registrations.
After deployment I am facing the login screen which works fine (loggin in works).
But after trying to use the chat i am getting this error "Error: Request failed with status 403"
Here are the Network logs:
GET https://application828273643-dev.azurewebsites.net/.auth/refresh 403 (Forbidden) authConfig.ts:152
POST https://application828273643-dev.azurewebsites.net/ask net::ERR_ABORTED 403 (Forbidden) api.ts:27
Am I missing something?
Minimal steps to reproduce
AZURE_AUTH_TENANT_ID=
AZURE_CLIENT_APP_ID=
AZURE_ENABLE_GLOBAL_DOCUMENT_ACCESS="true"
AZURE_ENFORCE_ACCESS_CONTROL="false"
AZURE_PUBLIC_NETWORK_ACCESS="Enabled"
AZURE_SERVER_APP_ID=
AZURE_SERVER_APP_SECRET=
AZURE_SUBSCRIPTION_ID=
AZURE_TENANT_ID=
AZURE_USE_AUTHENTICATION="true"
Any log messages given by the failure
GET https://application828273643-dev.azurewebsites.net/.auth/refresh 403 (Forbidden) - authConfig.ts:152
POST https://application828273643-dev.azurewebsites.net/ask net::ERR_ABORTED 403 (Forbidden) - api.ts:27
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: