Skip to content

Password reset and Sign out #4114

Closed Answered by pennersr
davidyytan asked this question in Q&A
Discussion options

You must be logged in to vote

This is by design. The 401 indicates the authentication status of the user after the action is performed. It is explained here:

https://docs.allauth.org/en/dev/headless/openapi-specification/#section/Authentication-Flows

Also have a look at the example React app (https://react.demo.allauth.org/ and https://codeberg.org/allauth/django-allauth/src/branch/main/examples/react-spa -- it handles all these flows.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by davidyytan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants