6
[auth] Allow to specify deeplinks as emailRedirectTo & inside supabase html template builder
Source: supabase/supabase#14180 · opened by @xzilja
For native applications that want to use supabases magic links for authentication, it would be great if we could provide deeplinks like myapp:// for emailRedirectTo and use them in supabase's email template builder. This would allow us to verify otp within the app and provide a more seamless email to app linking experience. Perhaps some sort of https link can also be specified as fallback in case users open such emails on desktop.
As of now this is the current behaviour:
1. Specifying emailRedirectTo option as myapp:// results in error stating that link needs to be https://
2. Updating email template in supabase to include link like <a href="myapp://{{ .Token}}">Verify now!</a> results in <a>Verify now!</a> when saved (I assume supabase dashbord sees deeplink as invalid and removes it)
If we could at least do number 2, it already solves the issue, but perhaps allowing this on client sdk would lead to a more seamless experience.
As of now this is the current behaviour:
1. Specifying emailRedirectTo option as myapp:// results in error stating that link needs to be https://
2. Updating email template in supabase to include link like <a href="myapp://{{ .Token}}">Verify now!</a> results in <a>Verify now!</a> when saved (I assume supabase dashbord sees deeplink as invalid and removes it)
If we could at least do number 2, it already solves the issue, but perhaps allowing this on client sdk would lead to a more seamless experience.
No pledges yet. Be the first to back this.
Comments
Similar requests
[RFC] Query builder immutability and safe branching semantics across Supabase SDKs
1 vote · 0 comments
Request for feature: Ability to use custom HTML template in supabase.auth calls
5 votes · 0 comments
Auth Email with SMTP provider: Using SendGrid Dynamic Template
3 votes · 0 comments
Add `emailRedirectTo` option to other email confirmation commands
3 votes · 0 comments
Native integration between Supabase and ChartDB
27 votes · 0 comments
No comments yet.