Gold240sx
Gold240sx
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Gold240sx on 12/19/2023 in #questions
Discord multi-role authentication system
That looks perfect! Thank you both. I’ll take a good look.
13 replies
TTCTheo's Typesafe Cult
Created by Gold240sx on 12/19/2023 in #questions
Discord multi-role authentication system
When I create a new user in Supabase or Firebase, the user is assigned a userId. When i simultaneously creaet a document for their information, I save the id from auth to the doc so that they're linked and I know that this user's info belongs to this perrson who is signed in. info including role="admin" for instance.
13 replies
TTCTheo's Typesafe Cult
Created by Gold240sx on 12/19/2023 in #questions
Discord multi-role authentication system
Okay, so if i set up the auth in Discord then and. i saved all the information within something like supabase, i assume I would need a way to save a link between the two? if so would that come from an api response? Sorry for the line of questions. Most searching returned mult-factor authentication.
13 replies
TTCTheo's Typesafe Cult
Created by Gold240sx on 12/19/2023 in #questions
Discord multi-role authentication system
if tied to Discord's roles, i suppose I would need to tie in specific discord roles to particular users somehow.
13 replies
TTCTheo's Typesafe Cult
Created by Gold240sx on 12/19/2023 in #questions
Discord multi-role authentication system
Either that or just have paid users, admins, reg users, moderators etc. I've tied things like this to firebase and supabase, but i've only done single role auth with Discord.
13 replies