I'm trying to use twitch authentication with supab...
# help
v
I'm trying to use twitch authentication with supabase in order to authenticate users, but later allow them to use a url with a special-generated uuid (effectively a secret as they should not share this url) within obs as a browser source. In this case, even if the user logs into twitch via a web browser using the supabase integration, is there any way for me to log the user into twitch based on previously stored information (I'm assuming based on reading that storing an oauth token and refresh token in a db is generally bad practice so I'm trying to know if there is a way around that)
n
Hello @VoidWhisperer! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
v
One thought process I had here was to make the user provide a password or 'key' and require that to be passed along with the user's id. The idea being the oauth and refresh token are stored encrypted via that key (and logs turned off to the specific pages where the key would appear in the url) so that even if the database was compromised, they cant access the token
Not sure if this makes sense
Anyone?