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
I am trying to create a stateless API but I am forced to use sessions since allauth requires session to work properly.
I was able to not use sessions by using my own ACCOUNT_ADAPTER. But, the AccountMiddleware forces using session and it's unavoidable.
This has to be fixed.
The text was updated successfully, but these errors were encountered:
oabuhamdan
changed the title
Can't create a stateless API since allauth uses sessions everwhere
Can't create a stateless API since allauth uses sessions everywhere
Feb 23, 2024
The issue exists because of dependency on django-allauth for social authentications. As per an issue recorded on django-allauth there are no plans of moving away from session auth.
See pennersr/django-allauth#3805 (comment) for more details.
Hi,
I am trying to create a stateless API but I am forced to use sessions since allauth requires session to work properly.
I was able to not use sessions by using my own ACCOUNT_ADAPTER. But, the AccountMiddleware forces using session and it's unavoidable.
This has to be fixed.
The text was updated successfully, but these errors were encountered: