FeatureFuel
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.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests