Magic Link generated with generateLink opens the app but is not handled by the SDK #1116
Labels
auth
This issue or pull request is related to authentication
documentation
Improvements or additions to documentation
Describe the bug
I am generating a Magic Link on my server-less backend using the
generateLink
method exposed by theadmin
interface of the Supabase package for Javascript. When pressing theaction_link
returned by such method, my app opens but the deep-link is not detected by Supabase (I can notice when it does because aflutter: supabase.supabase_flutter: INFO: handle deeplink uri
message appears). If I generate a Magic Link using thesignInWithOtp
method on my app, it works as expected but I lack the possibility to use my custom template.To Reproduce
Steps to reproduce the behavior:
generateLink
method exposed by theadmin
interface (Javascript).action_link
generated by such method on your phone's web browser.Expected behavior
When pressing the Magic Link generated by
generateLink
, the user should be able to sign into the app.Versions:
@supabase/supabase-js
: 2.48.1supabase_flutter
: 2.8.3Additional context
The Magic Link is generated using a server-less back-end to be able to inject it inside a custom template that also has information related to the user.
The text was updated successfully, but these errors were encountered: