AngellusMortis / django_microsoft_auth

Simple app to enable Microsoft Account, Office 365 and Xbox Live authentcation as a Django authentcation backend.
MIT License
137 stars 84 forks source link

AADSTS50011 localhost error while sign in #425

Open jayantjaiswal100 opened 4 years ago

jayantjaiswal100 commented 4 years ago

a

I have Configured it Via Azure Portal Don't know where I am Stuck ... Please help ...

Gokujo commented 4 years ago

same issue

jayantjaiswal100 commented 4 years ago

same issue

hi, U can use Django All-Auth package it helped me out with the issue

zhaowei699 commented 2 years ago

Sorry, but we’re having trouble signing you in.

AADSTS50011: The redirect URI 'http://example.com/microsoft/auth-callback/' specified in the request does not match the redirect URIs configured for the application

How to change http://**example.com**/microsoft/auth-callback/ to http://localhost:8000/microsoft/auth-callback/?

Wissperwind commented 1 year ago

Ah, example.com is a value in the database. It has something to do with the sites framework. I think you can edit it on the django admin website or directly in the database.

zhaowei699 commented 1 year ago

After updated database, set SITE_ID = x in your Django production setting.

Wei Zhao Sr. Simulation Engineer Engineering/Development @.**@.> Mobile: +86-18018673699 Direct: +86-021-60785703

From: Wissperwind @.> Sent: Tuesday, December 20, 2022 5:53 PM To: AngellusMortis/django_microsoft_auth @.> Cc: Wei Zhao @.>; Comment @.> Subject: Re: [AngellusMortis/django_microsoft_auth] AADSTS50011 localhost error while sign in (#425)

[EXTERNAL EMAIL: Do not click links or attachments unless you recognize the sender and know the content is safe. Report suspicious emails using the Report Phishing button.]

Ah, example.com is a value in the database. It has something to do with the sites framework. I think you can edit it on the django admin website or directly in the database.

— Reply to this email directly, view it on GitHubhttps://github.com/AngellusMortis/django_microsoft_auth/issues/425#issuecomment-1359098541, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHITNF7GAI2MGT5EVLCXB73WOF6ZPANCNFSM4Q4FKDTA. You are receiving this because you commented.Message ID: @.**@.>>


Consider the environment before printing this message.

To read the Companies' Information and Confidentiality Notice, follow this link: https://www.autoliv.com/autoliv-email-disclaimer