Erreur de URI Redirect pour une application python (flask) déployé sur Azure

Hania BADAWY 0 Points de réputation
2025-03-25T08:35:02.9466667+00:00

I have succeded deploying my flask app on azure for which I use Microsoft Entra ID to login and access my web app. I've set the correct URLs for my app (https://front-miaao-cdgwabgcb8cydth4.francecentral-01.azurewebsites.net/login/callback), but when I press on login in I get this error :

AADSTS50011: The redirect URI 'http://localhost:8000/login/callback' specified in the request does not match the redirect URIs configured for the application ''. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to https://aka.ms/redirectUriMismatchError to learn more about how to fix this.

even though in my code there's no ''[http://localhost:8000/login/callback]'' anywhere and in the app registrations i haven't added it neither.

Azure
Azure
Plateforme et infrastructure de cloud computing pour la génération, le déploiement et la gestion d’applications et de services à travers un réseau mondial de centres de données gérés par Microsoft.
593 questions
0 commentaires Aucun commentaire
{count} votes

Votre réponse

Les réponses peuvent être marquées comme Réponses acceptées par l’auteur de la question, ce qui permet aux utilisateurs de connaître la réponse qui a résolu le problème de l’auteur.