How can I redirect to the app after email verification?
That is a common question. So many developers asked me this question.Naa, don’t worry. Of course, I fixed this.
1
First go to the Supabase Dashboard >
Click on your project
> Authentication
> URL Configuration
> Redirect URLs
> Add URL
.2
Add the following URL: You can use
<your-app-bundle-identifier>://**
You can find your app bundle identifier in the
app.json
file.*
as a wildcard for the path. Otherwise, you can use the exact path.Like this: `com.your-app-bundle-identifier.app://callback/verify
3
That’s it! You don’t have to change Email Template. Initial version of the email template is working fine.
4
When you click the verification link in the email, you will be redirected to the app.
Then you should see the following screen:
