-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User not staying logged in after page refresh #117
Comments
I have the same issue on self hosted env. I believe it has something to do with the change from session to cookie based auth |
Same issue on my side as well |
No fix at the moment. So the whole thing is pretty useless |
Has anyone had any luck on this? I have the same issue. |
@tempo22 @karndt84 @samhallam16021
and then just do:
|
@maxsteinwand thank you very much, it works now. |
Right now if the user logs in all the requests via the SDK are working as your authenticated but if you press F5 the user gets thrown back to the login even if the refresh_token cookie is set. You can try this on your own domain https://www.agencyos.dev/ (even tough you need to set the domain in directus to www.agencyos.dev as it currently cant set the cookie). Before you used a custom CookieStorage with type JSON when authenticating with the SDK but now with mode Cookie it still doesnt work.
Do you have any idea on how to fix this?
The text was updated successfully, but these errors were encountered: