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
Describe the bug
Trying to use supabase with their inbuilt cookie store.
It almost works. The only problem is, that a certain cookie variable can't be set in a certain setting.
When using password based log in, the supabase.auth.token value can be correctly set alongside the supabase.auth.token-code-verifier value:
However, when using Google OAuth login, the supabase.auth.token value never gets reflected in the cookie:
The weird thing is, when logging the value of auth_storage, it actually DOES log that supabase.auth.token is set.
But it's never reflected in the actual cookie that can be seen via the browser dev tools.
It's driving me crazy that I can't fcking set a cookie var, even though the logs say it does get set.
Any help figuring out why it's not reflected in the actual cookie value is very much appreciated! 🙏🏼
It's quite a lot of work to set up, cause you need a supabase project AND a google app.
Can screenshare with my setup during office hours to mitigate anybody having to set up those two services themselves.
Expected behavior
Set the cookie supabase.auth.token during google oauth just like during password auth - I mean it's just a string like all other values
Specifics (please complete the following information):
Describe the bug
Trying to use supabase with their inbuilt cookie store.
It almost works. The only problem is, that a certain cookie variable can't be set in a certain setting.
When using password based log in, the
supabase.auth.token
value can be correctly set alongside thesupabase.auth.token-code-verifier
value:However, when using Google OAuth login, the
supabase.auth.token
value never gets reflected in the cookie:The weird thing is, when logging the value of
auth_storage
, it actually DOES log thatsupabase.auth.token
is set.But it's never reflected in the actual cookie that can be seen via the browser dev tools.
It's driving me crazy that I can't fcking set a cookie var, even though the logs say it does get set.
Any help figuring out why it's not reflected in the actual cookie value is very much appreciated! 🙏🏼
To Reproduce
Steps to reproduce the behavior:
It's quite a lot of work to set up, cause you need a supabase project AND a google app.
Can screenshare with my setup during office hours to mitigate anybody having to set up those two services themselves.
Expected behavior
Set the cookie
supabase.auth.token
during google oauth just like during password auth - I mean it's just a string like all other valuesSpecifics (please complete the following information):
Additional context
Explanation about inbuilt cookie store of supabase: https://discord.com/channels/839993398554656828/1323027147929030746/1323035611703283733
Initial discord thread: https://discord.com/channels/1029853095527727165/1324480797687677020/1324488478410412144
The text was updated successfully, but these errors were encountered: