-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
signInWithBrowser() not able to open webview (Auth page) for sign. #423
Comments
its working when i set |
I tried with |
same for me it works on iOS but on Android nothing happens |
i fixed it by doing this
where as previously i was doing this
|
Solution which works for me : In Android folder built and build.gradle from app folder :
Then in createConfig use Important point : Be careful with useEffects, which can also hinder the opening of the Okta page. |
Describe the bug?
signInWithBrowser() not able to open webview for sign.
What is expected to happen?
when signInWithBrowser() called it should open webView (Auth page).
What is the actual behavior?
signInWithBrowser() is not returning anything
Reproduction Steps?
ReactNative : 0.73.6
create config file
and then call signInWithBrowser() .
Additional Information?
same okta config working fine this lib : with https://www.npmjs.com/package/react-native-app-auth
SDK Version
"@okta/okta-react-native": "2.12.0",
Build Information
No response
The text was updated successfully, but these errors were encountered: