Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
This repository was archived by the owner on May 13, 2025. It is now read-only.

Msal authentication with Azure AD: AADSTS650057 error #43

@thomas77

Description

@thomas77

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions