4
Sign In via Functions
Source: supabase/supabase#14266 · opened by @TsFreddie
This might be an unusual use case, video game platforms (steam, epic game store, google play, etc.) often provide their own session tickets which is really handy combining with Supabase Functions to verify users without manually providing credentials by the end users.
I'm struggling to find a way to create my own session and sign a jwt inside a function, so I'm guessing it might not be possible currently.
Maybe something like supabaseClient.auth.signInWithFunctions("steam", payload); assisted with a function template that send request to the platform's API then sign and respond with a jwt would be helpful in these cases.
Having these kind of sign in methods available potientially open up Supabase to game developers to quickly develop a video game backend like inventory and maybe turn based matches.
I'm struggling to find a way to create my own session and sign a jwt inside a function, so I'm guessing it might not be possible currently.
Maybe something like supabaseClient.auth.signInWithFunctions("steam", payload); assisted with a function template that send request to the platform's API then sign and respond with a jwt would be helpful in these cases.
Having these kind of sign in methods available potientially open up Supabase to game developers to quickly develop a video game backend like inventory and maybe turn based matches.
No pledges yet. Be the first to back this.
Comments
Similar requests
Add option to `supabase functions deploy` to delete non-local functions
2 votes · 0 comments
Edge functions not showing in local Supabase Studio
15 votes · 0 comments
PROCEDUREs aren't shown in the Functions view
6 votes · 0 comments
Replace Deno Runtime for Edge Functions with Dapr
11 votes · 0 comments
Improving the functionality of Edge Functions
3 votes · 0 comments
No comments yet.