IT Father
WWasp-lang
•Created by IT Father on 11/20/2024 in #đŸ™‹questions
Mandatory email verification
Hello everyone! Is there any way to enforce email verification before login? The OpenSaaS template somehow allows login without verification. Is there a field in the User entity that is responsible for this?
7 replies
WWasp-lang
•Created by IT Father on 10/25/2024 in #đŸ™‹questions
Google oAuth issue on production
On local environment, google auth is working fine, however, on the production I am getting "An unknown error occurred while trying to log in with the OAuth provider.". No clue, no hint on console. I set redirect uri correctly. Does anyone know how to debug it?
wasp version: 0.13
17 replies
WWasp-lang
•Created by IT Father on 8/25/2024 in #đŸ™‹questions
How to Automatically Create Default Values in a Related Table on User Signup?
Version: 0.13.2
I'm building a project using Wasp-lang where I need to automatically create default entries in a Priority table whenever a user signs up via Google Auth (no custom fields). Specifically, when a new user is registered, I want to insert predefined rows in the Priority table linked to that user.
What is the recommended approach for implementing this logic in Wasp-lang following best practices? Should I use a signup hook, or is there another method I should consider?
Any advice on structuring this feature would be greatly appreciated!
9 replies