docker icon indicating copy to clipboard operation
docker copied to clipboard

Magic Link not received.

Open shaaridev opened this issue 5 months ago • 4 comments

Hi,

I followed the tutorial https://trigger.dev/docs/open-source-self-hosting to sel host trigger.dev.

But when I try to signup using npx trigger.dev@latest login -a http://localhost:3040/ I'm not getting the magic link in my email inbox ! I used a gmail email for testing.

Is there something wrong or missing in my .env that prevent me from getting the magic link by email ? Any help is highly appreciated.

These are values of my environment variables that related to resend.com and magic link in my .env file :

#WHITELISTED_EMAILS=  #commented not active

# Accounts with these emails will become admins when signing up and get access to the admin panel
ADMIN_EMAILS=  #commented not active

.....
## E-mail settings
FROM_EMAIL=email used to create for resend.com account
REPLY_TO_EMAIL=email used to create for resend.com account 
RESEND_API_KEY=API key from resend.com

MAGIC_LINK_SECRET=generated using echo MAGIC_LINK_SECRET=$(openssl rand -hex 16)
SESSION_SECRET=generated using echo SESSION_SECRET=$(openssl rand -hex 16)
ENCRYPTION_KEY=generated using echo ENCRYPTION_KEY=$(openssl rand -hex 16)
PROVIDER_SECRET=generated using echo PROVIDER_SECRET=$(openssl rand -hex 32)
COORDINATOR_SECRET=generated using  echo COORDINATOR_SECRET=$(openssl rand -hex 32)

The rest of the environment variables contain the default values from .env.example

Thank you

shaaridev avatar Sep 25 '24 11:09 shaaridev