Open Blaygh opened 1 month ago
The documentation for Microsoft Azure config should be updated. to include AdfsAuthCodeBackend
. else there will be the recurring Error: Unauthorized: /oauth2/callback
.
AUTHENTICATION_BACKENDS = [
'django_auth_adfs.backend.AdfsAccessTokenBackend',
'django_auth_adfs.backendAdfsAuthCodeBackend'
]
Also, Azure has changed the name of Active Directory
to Entra ID
the docs should reflect this change to prevents goose chases.
PR welcome with fixes.
Hello, I would like to contribute by updating the Docs for the Microsoft Azure Setup. The current docs are not wholly sufficient. There is way more configuration needed than is communicated and this will discourage people from using it in the first place. Luckily, I have gone through the hell of hours of debugging and would like to lead others on the right track. Please let me know how I can contribute, Thanks
I'd like to encourage you to make the changes to the docs that cover the scenario(s) you encountered, then open a PR.
I have been trying to configure my app to use this package but I have an error I can't seem fix.
Django version 5.0.7
I keep getting an
2024-07-18 15:19:30,444: Unauthorized: /oauth2/callback
error. When I review sign-in attempts in Azure I see the status to be success. The app is deployed in python anywhere, below is my setting in django.Below is the error logs
Also below is the redirect url in python Azure
https://me.pythonanywhere.com/oauth2/callback
Upvote & Fund