okta / okta-react-native

OIDC enablement for React Native applications
https://github.com/okta/okta-react-native
Other
59 stars 39 forks source link

signInWithBrowser() gets stuck after successful login (Android 14) #392

Closed vijaemanlapaz closed 10 months ago

vijaemanlapaz commented 10 months ago

Describe the bug?

After successfully signing in using signInWithBrowser() web login is stuck and no callbacks are being called. This is only happening on Android 14.

What is expected to happen?

After successful signing it should redirect back to the app.

What is the actual behavior?

After clicking sign in button, code will call signInWithBrowser() from @okta/okta-react-native and gets redirected to a browser signin page.

Screenshots 1 Screenshot 2023-11-08 at 8 53 53 PM

Screenshot 2 Screenshot 2023-11-08 at 8 55 56 PM

As seen on Screenshot 2 it's just stuck there and never redirected back to the app.

Reproduction Steps?

Create a function that calls the signInWithBrowser() from @okta/okta-react-native

Additional Information?

No response

SDK Version

@okta/okta-react-native:2.9.1

Build Information

No response