# Problems with magic links in Gmail mobile app

**URL:** <https://forum.ghost.org/t/problems-with-magic-links-in-gmail-mobile-app/19609>\
**Category:** Memberships & subscriptions\
**Created:** [January 20, 2021, 7:03pm UTC](https://forum.ghost.org/t/problems-with-magic-links-in-gmail-mobile-app/19609 "2021-01-20T19:03:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iero](https://avatars.discourse-cdn.com/v4/letter/i/41988e/32.png) [@iero](https://forum.ghost.org/u/iero)\
**Post date:** [January 20, 2021, 7:03pm UTC](https://forum.ghost.org/t/problems-with-magic-links-in-gmail-mobile-app/19609/1 "2021-01-20T19:03:47Z")

</div>

Hello

When users try to login using a mobile device, they click on the link in the email. This link is not open in the regular browser but in the “integrated browser” in the mail app.

[This is the default in gmail](https://discussions.apple.com/thread/8030441)

So, the session is not persistant in the browser. They have to copy/paste the link without clicking on it… and it’s not always easy to do.

I’m not sure it is possible to force the link to open in the browser (ie safari).

But maybe receive, with the link, a specific “PIN” number to enter directly in the browser?

---

<div class="post-metadata">

**Author:** ![iero](https://avatars.discourse-cdn.com/v4/letter/i/41988e/32.png) [@iero](https://forum.ghost.org/u/iero)\
**Post date:** [February 9, 2021, 11:58pm UTC](https://forum.ghost.org/t/problems-with-magic-links-in-gmail-mobile-app/19609/2 "2021-02-09T23:58:32Z")

</div>

So I have this problem with more and more people on iPad/iPhone…  
So created a dedicated page with this code:

```
<div class="contact-form">
	<input type="text" id="token" placeholder="Code" required/>
	<a target="_blank" href="" onclick="this.href='/members/?action=signin&token='+document.getElementById('token').value" >Connect</a>
</div>

```

And I send them just token (from the impersonate link) to paste in this page.
