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

JWTStatelessUserAuthentication class doesn't work #560

Closed
parthokr opened this issue Apr 21, 2022 · 3 comments
Closed

JWTStatelessUserAuthentication class doesn't work #560

parthokr opened this issue Apr 21, 2022 · 3 comments
Assignees
Labels

Comments

@parthokr
Copy link

Defining default authentication classes to JWTStatelessAuthentication produces the following error

ImportError: Could not import 'rest_framework_simplejwt.authentication.JWTStatelessUserAuthentication' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'. ImportError: Module "rest_framework_simplejwt.authentication" does not define a "JWTStatelessUserAuthentication" attribute/class.

@2ykwang 2ykwang added the bug label Apr 21, 2022
@2ykwang 2ykwang self-assigned this Apr 21, 2022
@2ykwang
Copy link
Member

2ykwang commented Apr 22, 2022

package including JWTStatelessUserAuthentication has not been released yet. Use JWTTokenUserAuthentication instead.

@parthokr
Copy link
Author

parthokr commented Apr 22, 2022

package including JWTStatelessUserAuthentication has not been released yet. Use JWTTokenUserAuthentication instead.

Then this page should be updated.

@2ykwang
Copy link
Member

2ykwang commented Apr 23, 2022

thanks @parthokr

@2ykwang 2ykwang closed this as completed Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants