Email not considered as provider if user already uses SSO?
Hi everyone,
I am in the process of creating a NextJS + Supabase app, using turborepo and the app itself was made using
-e with-supabase. The app is meant to be in two parts, a /dashboard that needs to have email login, and other routes (say /google or /github) that can only be accessed to users who linked their google or github account.
When doing some tests, I noticed that if I first sign in through /dashboard, then go to /github -> no issue, both appear as providers in my supabase admin. However, if the users signs in for the first time through /github, then goes to /dashboard in the future and signs in using email, they can "sign up" but they receive no email with a confirmation link (likely because they technically already exist), they can only "sign in" and for this need to request a new password. At this point they do receive the email and are able to log in, however I do not see email being added as a provider. Do you know how to handle that by any chance?
Thank you in advance!0 Replies