FormidableLabs / FormidableLabs/react-native-app-auth

Authorize is picking the default browser instead of browser specified with iosCustomBrowser

Open
#1,054 1 comment 0 reactions 0 assignees View on GitHub
needs-more-info
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

## Issue
Hello !

We are encountering an issue when using authorize function.

We defined our default browser to be Chrome on our iPhones.
We defined the `iosCustomBrowser` authorization config field to be `safari`.

When we launch the authorization flow, even if `safari` is specified, the authorization session is opened through Chrome.
When setting back Safari as our default browser, the authorization session is correctly opened through Safari.

Thanks in advance for your responses !
---

## Environment

* **Your Identity Provider**: `other`
* **Platform that you're experiencing the issue on**: `iOS`
* **Your `react-native` Version**: `0.73.3`
* **Your `react-native-app-auth` Version**: `7.1.0 and 8.0.1`
* **Are you using Expo?**: `Yes`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.