Supabase auth with NextJS and chrome extension. #1075
Unanswered
jellohouse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So for NextJS it is recommended to use the new supabase/ssr method outlined here: https://supabase.com/docs/guides/auth/server-side/nextjs?queryGroups=router&router=app
But i also want to let users login to my chrome extension.
I currently use the standard {{ . ConfirmationURL }} parameter in the email template to login the user to the extension.
But I'm afraid if i change the email template to use {{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=magiclink then the login to the chrome extension would stop working?
Is it possible to use the supabase/ssr package with both NextJS and a chrome extension for authentication?
If so how should i approach this?
Beta Was this translation helpful? Give feedback.
All reactions