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

could not resolve authenticator JWTCookieAuthenticator #626

Closed
aabanaag opened this issue Dec 24, 2021 · 2 comments
Closed

could not resolve authenticator JWTCookieAuthenticator #626

aabanaag opened this issue Dec 24, 2021 · 2 comments

Comments

@aabanaag
Copy link

aabanaag commented Dec 24, 2021

I'm seeing an error, could not resolve authenticator <class 'dj_rest_auth.jwt_auth.JWTCookieAuthentication'>. There was no OpenApiAuthenticationExtension registered for that class. Try creating one by subclassing it. Ignoring for now.

my default auth classes are below:
"DEFAULT_AUTHENTICATION_CLASSES": ( "rest_framework.authentication.SessionAuthentication", "rest_framework.authentication.TokenAuthentication", "dj_rest_auth.jwt_auth.JWTCookieAuthentication", ),

@aabanaag
Copy link
Author

aabanaag commented Dec 24, 2021

Found an article that might solve my issue, so I'll close this now apologies for not looking at the docs properly..

@tfranzel
Copy link
Owner

Hi, no that issue was legitimate. This extension was missing for dj_rest_auth. Which article are you referring to?

You can copy&paste this extension until the next release.

tfranzel added a commit that referenced this issue Aug 25, 2022


 #469: removes list flattening for oauth-toolkit as it is incorrect while
 the correct solution is indeed possible with OpenAPI3.
 #626: change AND to OR for dj_rest_auth JWTCookieAuthentication
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