Redirect back to App from Metamask Mobile after connection

I am trying to connect a mobile app with Metamask Mobile. I use a deep link like metamask.app.link/www.myapp.com/metamask?autosign=1234

From that page I use the Provider and ask the user permission to link their account.

If I approve the link, the page does not get automatically redirected to the app with the metamask accounts.

Is that a bug or what is the way of doing this?

In fact my question is how can I redirect back the user to my App after the connection?

Hi!,

Check out this section of the dev docs. Linking you directly to deeplinking but you’ll see the table of contents broken down where you can back out to read more on mobile or anything else needed.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.