Authentication with Email

Looking at the scripts on the docs, https://opengb.dev/modules/auth/overview, is there not a native script that allows basic email and password authentication? Furthermore, how does one correlate this to the users module or tokens module?
Open Game Backend
Overview - Open Game Backend
Open-source modular backend for all games and tools. Supports Godot, Unreal, HTML5, Unity, and custom engines.
7 Replies
Nathan
Nathan2y ago
currently only passwordless email auth. it's way more secure, but we'll add passwords at some point.
Nathan
Nathan2y ago
Open Game Backend
Verify Email Passwordless - Open Game Backend
Verify a user's email address with a one-time verification code.
Nathan
Nathan2y ago
Open Game Backend
Start Profile Picture Upload - Open Game Backend
Allow the user to begin uploading a profile picture.
Nathan
Nathan2y ago
ah, we don't return the user id rn. i think it's encoded in the token, though.
brendanthebigboi
brendanthebigboiOP2y ago
Sounds good, so thinking back to supabase there is a signIn function for the supabase client. Combining the users and email module, is there a signIn, signOut herlp function for those? Or a way to get the current session?

Did you find this page helpful?