7
Better URLs for hooks
Source: supabase/supabase#1566 · opened by @RickMeasham
At the moment if someone attempts to re-use the magic login URL they are redirected to the front end with a 404 in the location hash:
And if someone is doing a password reset:
These are fairly arbitrary and ultimately the only way to handle it is pattern matching. The [example realtime chat app]( does a browser level redirect based on the precise hash content. That's really inefficient!
Is there any way that we can get less arbitrary URLs _or_ be able to specify a URL for various events?
Less arbitrary (also: the ability to choose between a hash and a query string please?):
Specified would be up to the app owner:
And if someone is doing a password reset:
These are fairly arbitrary and ultimately the only way to handle it is pattern matching. The [example realtime chat app]( does a browser level redirect based on the precise hash content. That's really inefficient!
Is there any way that we can get less arbitrary URLs _or_ be able to specify a URL for various events?
Less arbitrary (also: the ability to choose between a hash and a query string please?):
Specified would be up to the app owner:
No pledges yet. Be the first to back this.
Comments
Similar requests
Add `signUploadObjectUrls()` for generating multiple signed upload URLs
1 vote · 0 comments
Data URLs as redirect URLs
2 votes · 0 comments
Way to createSignedUrls with image transformation
7 votes · 0 comments
supabase/ssr add useJWT, useSession, useUser hooks for react
2 votes · 0 comments
Implementing custom auth for edge functions
1 vote · 0 comments
No comments yet.