Skip to content

In Headless API switching from session-based authentication to access token authentication in Django: issues with user recognition in allauth #3859

Closed Answered by pennersr
kagiya-n asked this question in Q&A
Discussion options

You must be logged in to vote

across different domains

Shouldn't you be using OAuth/OpenID Connect for such use cases?

allows the user to be recognized, but is it not possible to authenticate with access_token?

That is currently the case, yes. For that to work we would need to be able to lookup the session from the access token. So, you would need to encode the session ID, or be able to somehow look it up, solely based on the access token.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kagiya-n
Comment options

Answer selected by kagiya-n
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