NextJs SSR Authentication using cookies #2903
IbrahimSam96
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have previously done a simple authentication of users on firebase using SSR and nookies I think this implementation is quite smooth so far! Please let me know if it works well for you or if you face any problems.
Context.js
_app.js
profile.js
EDIT 20/08/2021
As of now I can't log in to the index.js DIRECTLY after token verification in ssr. I think the issue being this!
https://github.com/supabase/supabase/issues/1200#issuecomment-851034074
Please let me know if there is a alternative to the lengthy complex solution
Beta Was this translation helpful? Give feedback.
All reactions