auth0 / react-native-auth0

React Native toolkit for Auth0 API
https://auth0.com
MIT License
481 stars 206 forks source link

sample app open two tabs when login with world coin app #972

Open chenkuangkuang opened 1 week ago

chenkuangkuang commented 1 week ago

Checklist

Description

I am using the sample program you provided to connect to the world coin app to log in, on ios, I modified the source code to achieve this, but on android, after jumping to the world app authorization, it always opens two tabs at the same time in the browser, the first one notifies me to jump to my app, and after jumping it logs in normally, but the problem is that it opens a duplicate tab, telling me “you may have pressed the back button ”, that is, an error. But the problem is that it also opens a duplicate tab that tells me “you may have pressed the back button ......”, i.e. an error. Is this normal? How do I deal with this issue?

Reproduction

1.click login 2.auth in world coin app 3.browser open two tab, first tab work well, but the second tab show error

Additional context

No response

react-native-auth0 version

V3.2.1

React Native version

0.72.1

Expo version

No response

Platform

Android

Platform version(s)

android 14