# Auth0 callback fails randomly in iOS

**URL:** <https://community.auth0.com/t/auth0-callback-fails-randomly-in-ios/7722>\
**Category:** Get Help\
**Tags:** callback, ios\
**Created:** [August 2, 2017, 5:09pm UTC](https://community.auth0.com/t/auth0-callback-fails-randomly-in-ios/7722 "2017-08-02T17:09:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilkka](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ilkka](https://community.auth0.com/u/ilkka)\
**Post date:** [August 2, 2017, 5:09pm UTC](https://community.auth0.com/t/auth0-callback-fails-randomly-in-ios/7722/1 "2017-08-02T17:09:57Z")

</div>

Hi,

Our React Native Expo app is using [Auth0.com](http://Auth0.com) and authentication works well in Android, and in most of the iOS devices. However, some iOS devices authentication stops with both Facebook and Google login to attached screen.  
![alt text][1]  
To make things confusing, problematic devices range from old iPad2 to iPhone7 and different iOS versions. For other users same phone model and SW version works ok.

In the code, redirect\_url is sent to Auth0 and even in failing cases it seems to be correct one. But after process stops in that Safari screen, it never returns to our code.

Would appreciate a lot if you have any advice or even wild ideas what to do?

Thanks!  
Ilkka

---

<div class="post-metadata">

**Author:** ![ilkka](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@ilkka](https://community.auth0.com/u/ilkka)\
**Post date:** [August 28, 2017, 1:31pm UTC](https://community.auth0.com/t/auth0-callback-fails-randomly-in-ios/7722/2 "2017-08-28T13:31:59Z")

</div>

Well, eventually had to find an alternative solution: Using [Expo.io](http://Expo.io) social login and new Graphcool schema extention functions.

Without Auth0:

> **[GitHub - ilkkavesa/Expo-Graphcool-social-login: Test app for Expo Facebook...](https://github.com/ilkkavesa/Expo-Graphcool-social-login)**
>
> Test app for Expo Facebook and Google logins using Graphcool schema extensions - GitHub - ilkkavesa/Expo-Graphcool-social-login: Test app for Expo Facebook and Google logins using Graphcool schema ...

---

<div class="post-metadata">

**Author:** ![seb](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/seb/32/7443_2.png) [@seb](https://community.auth0.com/u/seb)\
**Post date:** [December 14, 2017, 5:38am UTC](https://community.auth0.com/t/auth0-callback-fails-randomly-in-ios/7722/3 "2017-12-14T05:38:28Z")

</div>

I’m facing the same issue. The problem can be reproduced if I clear Safari’s cache and then try to login.

Wondering if anybody has a clue on this one.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:55am UTC](https://community.auth0.com/t/auth0-callback-fails-randomly-in-ios/7722/4 "2018-03-02T05:55:43Z")

</div>


