You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @vlidholt, I've started working on this, but Apple requires an https:// URL for the final redirect on non-Apple platforms (as does Facebook on web). I do not see a way to add a route (or http endpoint) in a module. On Android, e.g., we need to redirect to the app with an intent:// URL, but Apple doesn't allow this as a redirect URL. Legacy/web OAuth2 services will also require this final backend redirect. Any plans to add this, or could it be proposed? I'd love to help but need your guidance on how this should work.
@tgrushka I guess this is a bit more tricky to do, but Serverpod's web server (Relic) has support for doing things like this. You would need to create a custom route that handles the redirect.
@FantaMagier - We are currently working on improvements for the authentication module. So we should be able to provide support for this within the next couple of months.
By using deep linking, Supabase also makes the user able to click a link in the email containing the verification code to directly jump back to the app, without the need to enter the verification code.
Activity
tgrushka commentedon Mar 11, 2023
Hi @vlidholt, I've started working on this, but Apple requires an https:// URL for the final redirect on non-Apple platforms (as does Facebook on web). I do not see a way to add a route (or http endpoint) in a module. On Android, e.g., we need to redirect to the app with an intent:// URL, but Apple doesn't allow this as a redirect URL. Legacy/web OAuth2 services will also require this final backend redirect. Any plans to add this, or could it be proposed? I'd love to help but need your guidance on how this should work.
vlidholt commentedon Mar 14, 2023
@tgrushka I guess this is a bit more tricky to do, but Serverpod's web server (Relic) has support for doing things like this. You would need to create a custom route that handles the redirect.
kevinpthorne commentedon Mar 13, 2024
Bumping this - this may be a serverpod killer for my use-case. It sounds like I may need to look into re-writing the auth_module
SandPod commentedon Dec 18, 2024
More details for this issue in this closed duplicate issue: #914
FantaMagier commentedon May 3, 2025
Any news on this issue?
SandPod commentedon May 5, 2025
@FantaMagier - We are currently working on improvements for the authentication module. So we should be able to provide support for this within the next couple of months.
finnvyrn commentedon Jan 18, 2026
Supabase for Flutter achieved this via deep linking: Sign in with Apple on Android, Web, Windows and Linux | Supabase Docs
By using deep linking, Supabase also makes the user able to click a link in the email containing the verification code to directly jump back to the app, without the need to enter the verification code.