Replies: 1 comment
-
Can be deleted. |
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
-
Hi,
I am using allauth in headless mode. I have tried to implement my own HEADLESS_TOKEN_STRATEGY, but it is still just returning the Session Token. I just want allauth to give out the standard DRF TokenAuthentication.
I have added this to settings.py:
HEADLESS_TOKEN_STRATEGY = "api.token.AccessTokenStrategy"
The AccessTokenStrategy in token.py is implemented as follows:
However, the return from _allauth/app/v1/auth/provider/token is still:
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions