Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django admin UI page: Oauth 2 isn't working #326

Open
sbordiya opened this issue Jan 19, 2024 · 1 comment
Open

Django admin UI page: Oauth 2 isn't working #326

sbordiya opened this issue Jan 19, 2024 · 1 comment

Comments

@sbordiya
Copy link

sbordiya commented Jan 19, 2024

I've a django angular application. The accessTokenAcceptedVersion =1 on my azure app manifest works for django admin (http://localhost:8000/admin) but when I change it to version accessTokenAcceptedVersion =2 it stops authenticating and shows me message as "login failed".

I'm using MSAL for the angular side which works with accessTokenAcceptedVersion =2. How do i enable django side to work Oauth 2.0? Here is my stack:

Python== 3.9.18
Django==3.2.*
angular==15.2
msal-angular==2.5.8

Thank you!

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@JonasKs
Copy link
Member

JonasKs commented Jan 22, 2024

Have you also configured django-auth-adfs to use token version 2?

Please also read the troubleshooting section in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants