# Too many redirects from email link (Gmail app -\> Safari) on iOS on site with SSO

**URL:** https://meta.discourse.org/t/too-many-redirects-from-email-link-gmail-app-safari-on-ios-on-site-with-sso/112751
**Category:** SSO
**Tags:** discourseconnect
**Created:** [3월 27, 2019, 8:18오후 UTC](https://meta.discourse.org/t/too-many-redirects-from-email-link-gmail-app-safari-on-ios-on-site-with-sso/112751 "2019-03-27T20:18:29Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [3월 27, 2019, 8:18오후 UTC](https://meta.discourse.org/t/too-many-redirects-from-email-link-gmail-app-safari-on-ios-on-site-with-sso/112751/1 "2019-03-27T20:18:29Z")

</div>

Can anyone else reproduce the “Safari cannot open the page because too many redirects occurred” error when tapping the “View Topic” in an email in the Gmail app on iOS?

Reading the email message in Apple Mail and opening the link in mobile Safari does not cause this issue.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [3월 27, 2019, 8:31오후 UTC](https://meta.discourse.org/t/too-many-redirects-from-email-link-gmail-app-safari-on-ios-on-site-with-sso/112751/2 "2019-03-27T20:31:57Z")

</div>

I can’t reproduce it. Note also that the Gmail app doesn’t open Safari, it opens a SafariViewController instance within the app. Does the site you’re getting this error on use SSO by any chance?

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [3월 27, 2019, 8:44오후 UTC](https://meta.discourse.org/t/too-many-redirects-from-email-link-gmail-app-safari-on-ios-on-site-with-sso/112751/3 "2019-03-27T20:44:27Z")

</div>

It does not reproduce here on meta - I tried it with your reply, Penar.

Yes, logins are controlled with SSO (Wordpress).

Changing how links are handled to Gmail app → mobile Chrome app did not change the result - I still get the error: ERR\_TOO\_MANY\_REDIRECTS.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [3월 27, 2019, 9:42오후 UTC](https://meta.discourse.org/t/too-many-redirects-from-email-link-gmail-app-safari-on-ios-on-site-with-sso/112751/4 "2019-03-27T21:42:56Z")

</div>

Isn’t this a duplicate of [SSO redirect loop with Lax cookies, but only for my IPhone?!](https://meta.discourse.org/t/sso-redirect-loop-with-lax-cookies-but-only-for-my-iphone/112579) ?

Try changing the same site cookies setting.

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [3월 27, 2019, 10:03오후 UTC](https://meta.discourse.org/t/too-many-redirects-from-email-link-gmail-app-safari-on-ios-on-site-with-sso/112751/5 "2019-03-27T22:03:22Z")

</div>

Changing same site cookies to Disabled fixes the issue - thanks.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [4월 26, 2019, 10:03오후 UTC](https://meta.discourse.org/t/too-many-redirects-from-email-link-gmail-app-safari-on-ios-on-site-with-sso/112751/6 "2019-04-26T22:03:27Z")

</div>

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