-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
When releasing Wasp 0.18.0, I was tasked with testing Open Saas template in build mode.
I had to go through a series of steps to get it working:
-
I had to change the email from
Dummy
to something else, didn't know what at first. -
I pulled the env for
opensaas-sh
, there are SendGrid credentials in there but I couldn’t get SendGrid to work.Funnily enough, the UI said everything was OK:

-
It was hard to figure out which provider we should set to use this credentials (SendGrid or SMTP). After setting the credentials, I couldn't (or didn't know how to) access SendGrid's dashboard to see what wasn't working.
-
I tried to use SMTP credentials from
waspc/todoApp
. At first, they didn’t work for Open Saas despite working intodoApp
, I had to remove the single quotes:# Had to change this SMTP_HOST='smtp.mailgun.org' SMTP_USERNAME='[email protected]' SMTP_PASSWORD='<redacted>' SMTP_PORT=587 # Into this SMTP_HOST=smtp.mailgun.org [email protected] SMTP_PASSWORD='<redacted>' SMTP_PORT=587
-
Login/registration still didn’t work after this, I had to change the email address from
[email protected]
to[email protected]
in two places insidemain.wasp
. It worked after that. -
It’s hard to figure out which environment variables we should set (no dedicated
.env.
file we can pull)