Skip to content
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

Msal authentication with Azure AD: AADSTS650057 error #43

Open
thomas77 opened this issue Jul 23, 2024 · 1 comment
Open

Msal authentication with Azure AD: AADSTS650057 error #43

thomas77 opened this issue Jul 23, 2024 · 1 comment

Comments

@thomas77
Copy link

Hello !

I'm trying to set up a msal authentication using this sample code here.
I created an Entreprise application in Azure and also an AD group linked to this entreprise application.

I'm using the code below (it's a copy paste from the page above, I just replace the credentials (client_id, tenant_id, redirect_url):

image

When I'm running the streamlit app, I click on the login button, it's opening a pop-up and it's redirecting me through my app BUT I get this error message into the pop-up URL:

https://my-app/streamlit/#error=invalid_client&error_description=AADSTS650057%3a+Invalid+resource.+The+client+has+requested+access+to+a+resource+which+is+not+listed+in+the+requested+permissions+in+the+client%27s+application+registration.

Can someone help me to fix this please ?

Best regards,

Thomas

@mstaal
Copy link
Contributor

mstaal commented Oct 30, 2024

Hi Thomas! Do you still experience this issue with the most recent release (v1.1.0)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants