-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Allow for JWT Auth on All DRF Endpoints #33302
Comments
@feanil Just for confirmation that my understanding of this ticket is correct, as per ticket acceptance criteria we have to remove the authentication from view and use the default one if there is just SessionAuth and add the JWT in default authentication so that all endpoints would allow JWT auth? I found almost the majority of the views using the combination |
@salman2013 mostly correct. I think we just need to update the ones that are using |
Most REST endpoints in the edx-platform that require AUTH support JWTAuth or would if it was a default auth class.
However, some of the endpoints are explicitly set to only use SessionAuth. We should update these endpoints so that instead of explicitly overriding the DRF Authentication Classes they use the default authentication classes.
Tasks
Relevant Views/URLs
Acceptance Criteria
The text was updated successfully, but these errors were encountered: