FormidableLabs / FormidableLabs/react-native-app-auth

Infinite loop of "Safari cannot open the page because your iPhone is not connected to the internet..." when authenticating through Okta

Open
#758 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

## Issue

For users with devices issued from our organization, they experience an infinite loop when authenticating through Okta. The tunneling software for those phones automatically logs the user in via Okta, bypassing the email/password auth screen. Unfortunately, the Safari browser opens `.okta.com` and infinitely refreshes the web address. Safari kicks this back as a "...your iPhone is not connected to the internet..." error.

This issue does not occur for normal iPhones when authenticating with email/password.

Screen Shot 2022-08-03 at 2 50 25 PM

Thank you in advance.

---

## Environment

* **Your Identity Provider**: `Okta`
* **Platform that you're experiencing the issue on**: `iOS`
* **Are you using Expo?** `No`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Okta authentication flow on an organization-issued iPhone and compare it with the normal email/password flow described in the issue. Investigate the iOS React Native authentication path and the AppAuth bridge; done means the Okta flow no longer refreshes indefinitely and completes authentication.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.