3
Device Authorization Flow
Source: supabase/supabase#39437 · opened by @lufagovi
Context My current goal is to develop a VR application using Supabase as the backend. I've already built a companion web/mobile application and now need a simple authentication method, since typing in VR is very tedious. Question Is it possible to implement a device authentication flow (something like the OAuth2 Device Code Flow/Device Authorization Grant) using Deno/Edge Functions? Expected Flow 1. The user sees a short authentication code displayed in the VR app. 2. On another device, the user (already authenticated on the web app) enters this code on a device-signin.html page. 3. The VR app automatically transitions to the logged-in state once authentication succeeds. Technical Challenge From what I can see, the main challenge is securely linking the web session with the device session — that is, authenticating a request received from the web app and then sending a valid Supabase access token (or similar credential) to the VR app for authenticated API …
No pledges yet. Be the first to back this.
Comments
Similar requests
OAuth server: an existing grant auto-approves and returns no client details, leaving no room for an account-confirmation step
1 vote · 0 comments
Include resource field in OAuth authorization details response
1 vote · 0 comments
Does this old version of the App support the other devices?
2 votes · 0 comments
Add a Provider Configuration endpoint or a Authorization Server Metadata endpoint
1 vote · 0 comments
Complex authorization methods implementation - Create a db_post_request Hook for Dynamic Data Masking in Supabase
2 votes · 0 comments
No comments yet.