snapp
snapp copied to clipboard
ENABLE_SIGNUP is required to be set to TRUE when using OIDC to login with an existing user
As far as I understand from looking at the code, I think this is mainly due to a redundant check in src/routes/auth/[provider]/callback/+server.ts Line 40 , where it redirects to the signup page before checking if a user exists.
thank you for your submission, atm the entire app is going through a late refactor to include betterauth and solve most of this troubles! :)
that is great to hear, thanks for the quick reply!
Better auth should have resolved this, you can try the beta, and as soon as i finished it, it will be selfhostable!