login
I'm developing the new saas template and I want to get logged in (in the development environment). How do I get logged in? I tried signing up with an email and password but that doesn't work.
6 Replies
Hi @ATH🥭tinycrops. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the information in the knowledge sources, it seems you're having issues with authentication in the Open SaaS template. Here's how to get logged in during development:
Authentication Options
The Open SaaS template supports multiple authentication methods:
- Email (with verification)
- Username & password
- Google
- GitHub
For the simplest development testing, username and password authentication is recommended.
Development Login Tips
1. For email authentication: If you're using email authentication, you need to verify your email before logging in. However, for development purposes, you can skip email verification by adding this to your
.env.server
file:
Email Verification Flow
2. Simplest approach for testing: As mentioned in a Discord support thread, the simplest method is to use username and password authentication. You can modify your auth configuration in main.wasp
to only include usernameAndPassword
method:
Discord Support Thread
3. Important note about signup: After signing up, you still need to explicitly log in. Signup doesn't automatically log you in. You need to call the login()
function after signup. This is mentioned in a closed GitHub issue that indicates this behavior should be made clearer in documentation.
GitHub Issue
4. For Stripe payments: Note that if you're testing Stripe payments functionality, you need to use Google, GitHub, or Email auth (not username/password).
Discord Support Thread
If you're still having issues, check the browser console for errors, and make sure your authentication configuration in the main.wasp
file is correct.
Hope this helps with your development environment login!
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @ATH🥭tinycrops, 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?I tried signing up with an email and password but that doesn't work.What exactly didn't work? Is there an error message?


did I mess up the schema?
okay I have to set up auth
I am clueless
haha don't worry 👍
will mark as solved