Self-Hosted Email Confirmation Issue

I am trying to bypass the email confirmation in a self hosted environment for testing purposes. In my supabase env, i have this:
ENABLE_EMAIL_SIGNUP=true
ENABLE_EMAIL_AUTOCONFIRM=false
SMTP_ADMIN_EMAIL=
SMTP_HOST=
SMTP_PORT=2500
SMTP_USER=
SMTP_PASS=
SMTP_SENDER_NAME=
ENABLE_ANONYMOUS_USERS=false
ENABLE_EMAIL_SIGNUP=true
ENABLE_EMAIL_AUTOCONFIRM=false
SMTP_ADMIN_EMAIL=
SMTP_HOST=
SMTP_PORT=2500
SMTP_USER=
SMTP_PASS=
SMTP_SENDER_NAME=
ENABLE_ANONYMOUS_USERS=false
Setting all SMTP values to empty except the port made it so that I no longer face the "Confirmation Email could not be sent" Error, and I can see my user created inside supabase. But when I try to sign in, I now get a "email_not_confirmed" error. Is there a way to manually set this user to be confirmed or another work around? Thanks
2 Replies
FirstHonour
FirstHonourOP4w ago
Nevermind. I managed to bypass that by deleting the user and recreating it manually from the supabase dashboard itself.
inder
inder4w ago
You have to set ENABLE_EMAIL_AUTOCONFIRM=true And then restart container

Did you find this page helpful?