RowdyP
RowdyP
BABetter Auth
Created by RowdyP on 3/1/2025 in #help
Oauth new user
Thanks for your help. Looks like v1.2 has addressed this issue as well (disableImplicitSignup). Which means I should be able to have a separate ‘sign up with Google’ path I think.
9 replies
BABetter Auth
Created by RowdyP on 3/1/2025 in #help
Oauth new user
Thanks, I’ll have a look into that. Not sure if I am misunderstanding, but it looks like the hook will either run before login (in which case I don’t know if the user existed) or after login (in which case the new user has been created). What I need to do is hook between the login attempt and the new user creation. Or alternatively, disable new user creation, just reject the login if the user doesn’t exist. I’ve looked into the source code, and the current system doesn’t seem to give me many options.
9 replies