i can t create account with same email and passwords

I can create account with the same info, when i try to connect to the accoutn it doesnt work GitHub - LifeTakerSimo/saas_base
7 Replies
kapa.ai
kapa.ai7d ago
Hi @LifeTaker. 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 provided in the knowledge sources, it appears that Wasp has specific behaviors and safeguards in place for user authentication and account creation. Let me explain what might be happening in your case: 1. Email uniqueness: Wasp enforces email uniqueness for user accounts. If you're trying to create multiple accounts with the same email address, this shouldn't be possible by default Auth Overview (https://wasp-lang.dev/docs/auth/overview#default-validations). 2. Unverified emails: If the email is not verified, Wasp allows registration with an existing but unverified email. This is done to prevent bad actors from locking out legitimate users Email Signup (https://wasp-lang.dev/docs/auth/email#signup). 3. Error messages: Wasp intentionally doesn't provide specific error messages when an email already exists (for verified accounts) to prevent user email leaks Email Signup (https://wasp-lang.dev/docs/auth/email#signup). 4. Login issues: If you can create an account but can't log in, it might be due to how Wasp handles authentication for security reasons. 5. Multiple auth identities: Currently, Wasp doesn't support multiple auth identities for a single user. This means you can't have both an email-based and a social auth-based (like GitHub) identity for the same account Auth Entities (https://wasp-lang.dev/docs/auth/entities#example-app-model). Given that you're working on a specific project (LifeTakerSimo/saas_base), it's possible that you've customized some of these default behaviors. If that's the case, you might want to check your custom implementation for any issues. To resolve your problem, I recommend: 1. Ensure you're using verified email addresses. 2. Check if you're mixing different auth methods (e.g., email and GitHub) for the same account. 3. Review your project's custom authentication logic, if any. If the issue persists, you might want to open an issue on the Wasp GitHub repository for more specific assistance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @LifeTaker, 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?
miho
miho6d ago
Could you be more specific, what are the steps you took? What kind of errors do you see? Did you check the browser and the server logs?
LifeTaker
LifeTakerOP6d ago
nothing speacial installed the app local, some frontend editing, created account with email and password, user is added to database, but i can't connect with that user
martinsos
martinsos6d ago
Ok, so you create account, but can't log in after that? Have you verified user's email? Upon account creation, check output in the terminal, from server -> if it prints an HML email about veryitng your email there, then you need to click on it to verify email for that user. This is feature in development, to have stuff woroking without actual email sender like Sengrid.
martinsos
martinsos6d ago
OpenSaaS.sh
Guided Tour
Open SaaS is a free, open-source, full-stack SaaS starter kit for React + NodeJS.
LifeTaker
LifeTakerOP6d ago
solved. Sendgrid account not verified.
martinsos
martinsos5d ago
ok, nice catch!
Want results from more Discord servers?
Add your server