cli icon indicating copy to clipboard operation
cli copied to clipboard

No emails sent to inbucket when using signUp

Open NixBiks opened this issue 2 years ago • 1 comments

Describe the bug

I'd expect supabase.auth.signUp to send emails to inbucket but I see none.

To Reproduce

npx create-next-app -e with-supabase

Add supabase cli and set environment variables to point to the local supabase. Try to sign up and check inbucket afterwards

Desktop (please complete the following information):

  • OS: [e.g. iOS]: macOS
  • Browser (if applicable) [e.g. chrome, safari]: chrome
  • Version of CLI [e.g. v1.60.0]: 1.100.1
  • Version of supabase-js (if applicable) [e.g. v2.22.0]: 2.38.0
  • Version of Node.js (if applicable) [e.g. v16.20.0]: v16.15.1

NixBiks avatar Oct 11 '23 19:10 NixBiks

Any movement on this?

BCYCAData avatar Jan 14 '24 02:01 BCYCAData

~This is most likely because inbucket's smtp port is commented out in your config.toml. I can receive signup emails using the following config.~

I just verified that receiving email works without exposing smtp port. You need to make sure that enable_confirmations is set to true. Otherwise auth will confirm the sign up without sending out any emails.

[auth.email]
# If enabled, users need to confirm their email address before signing in.
enable_confirmations = true
Screenshot 2024-04-17 at 11 57 20 PM

sweatybridge avatar Apr 17 '24 14:04 sweatybridge