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

1) constance is not declared 2) where do I get my Tenant ID from? #509

Open RichardWoj opened 1 year ago

RichardWoj commented 1 year ago

I am trying to use this package, with no success so far. I have noticed an issue in the microsoft_auth/conf.py file at line 271: from constance import config as constance_config. It seems constance is not declared or known...

PS: I'am a beginner so maybe that's nothing?

The problem I'm facing is that when I click on Login with Xbox Live, I get the message: " unauthorized_client: The client does not exist or is not enabled for consumers. If you are the application developer, configure a new application through the App Registrations in the Azure Portal at https://go.microsoft.com/fwlink/?linkid=2083908."

I did not filled in the tenant ID as I don't know where to get id from the Azure Portal on which I registerd my app... Could ypou tell me how I can do this, if I need to

fyi: I'am still in development mode with the localhost server. I set up the redirect URI as https://localhost/microsoft/auth-callback/

Thanks for your help