Does OpenSaaS provide email authentication service for different users?

Does OpenSaaS provide email authentication service for different users?
3 Replies
kapa.ai
kapa.ai5mo ago
Hi @skyblade2954. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Yes, OpenSaaS, which is built using the Wasp framework, does provide email authentication service for different users. Wasp supports email authentication out of the box, along with email verification and "forgot your password?" flows. It provides server-side implementation and email templates for all of these flows. To set up email authentication, you need to enable email authentication in the Wasp file, add the User entity, add the auth routes and pages, use Auth UI components in your pages, and set up the email sender. Here is an example of how the main.wasp file might look:
// Configuring e-mail authentication
app myApp {
auth: { ... }
}

// Defining User entity
entity User { ... }

// Defining routes and pages
route SignupRoute { ... }
page SignupPage { ... }
// ...
// Configuring e-mail authentication
app myApp {
auth: { ... }
}

// Defining User entity
entity User { ... }

// Defining routes and pages
route SignupRoute { ... }
page SignupPage { ... }
// ...
For more details, you can refer to the Wasp documentation on Email Authentication (https://wasp-lang.dev/docs/auth/email). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @skyblade2954, 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?
skyblade2954
skyblade29545mo ago
Does it also create a working website with template with email authentication pages? @kapa.ai
martinsos
martinsos5mo ago
@skyblade2954 , it comes with login and signup page, also user profile page. Is what you are asking?
Want results from more Discord servers?
Add your server