You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is it important to specify authenticators as [JWTAuthentication()] in SimpleJWTAuthMixin ? Why does the view, that returns token and refresh token pair need authentication anyway?
As far as I know, that's what stopping user being created during the request in backends pipeline. When I override this and return [] in this method, then everything seems to work fine (seems because I actually have not tested it fully)
Hi!
from here: https://github.com/st4lk/django-rest-social-auth#oauth-20-workflow-with-rest-social-auth anybody can read that "Backend will either sign in the user, either signup, either return an error."
I always took it that it means 1) if user exists, sign in, 2) if not, sign up, 3), something goes wrong, return an error.
But with empty database user is not created for whatever reason. and instead the response is:
{"detail":"User not found","code":"user_not_found"}
The text was updated successfully, but these errors were encountered: