Replies: 1 comment
-
What I usually do in the frontend app is to call Other than that, if you wish to have the token in the register response, you can implement the route yourself:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the best approach for returning a JWT token after POST to /auth/register response to prevent user from having to authenticate again?
Basically add a JWT token to this:
{ id: "e88f156c-9aef-4077-bd5e-1a38627cd1c9", email: "test-4@nodomain.com", is_active: true, is_superuser: false, is_verified: false, first_name: null, last_name: null, display_name: null }
Beta Was this translation helpful? Give feedback.
All reactions