Where are the server logs to find the dummy email verification token/link?

By default we’ve set up the email sender to use the Dummy provider. This is for local development only and no emails will actually be sent out! To obtain an email verification token/link, you must check the server logs on initial sign up.
Where is the location of the log file in question within the standard WASP app directory structure?
9 Replies
kapa.ai
kapa.ai6mo ago
Hi @cassofthenight. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The Dummy email provider in Wasp doesn't actually send emails but logs them to the console instead. This means that the email verification token/link won't be found in a specific log file within the Wasp directory structure. Instead, you should be able to see it in the console output when you run your Wasp application in development mode. To set up the Dummy provider, you need to add the following to the main.wasp file:
app myApp {
// ...
// 7. Set up the email sender
emailSender: {
provider: Dummy,
}
}
app myApp {
// ...
// 7. Set up the email sender
emailSender: {
provider: Dummy,
}
}
Remember, the Dummy provider is not meant for production use. It is only meant to be used during development. If you try building your app with the Dummy provider, the build will fail. For more information, you can refer to the Wasp documentation (https://wasp-lang.dev/docs/auth/email#5-set-up-an-email-sender). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @cassofthenight, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
cassofthenight
cassofthenightOP6mo ago
I still can't find the Dummy sign-up verification token/link...
miho
miho6mo ago
Have you checked the terminal where you started the app with wasp start?
martinsos
martinsos6mo ago
Yes that is where server outputs the logs!
cassofthenight
cassofthenightOP6mo ago
No description
martinsos
martinsos6mo ago
We arleady improved this piece of docs in newer version of open-saas btw, to explain where the server logs are (in the terminal), it is just not released yet though.
cassofthenight
cassofthenightOP6mo ago
I was able to find the link but it appears to not regenerate a fresh link and the old one is probably stale.
martinsos
martinsos6mo ago
That sounds weird. It should genrate a fresh link if you try signing up again
cassofthenight
cassofthenightOP6mo ago
OK, there was an unexplained delay. I'm not sure if it might be a terminal issue but nothing new appeared for ages then I tabbed back to it and eventually it did regenerate new links. I suppose we can call it resolved now. Hopefully that was just a terminal lag and nothing more. Thank you.
Want results from more Discord servers?
Add your server