We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
both signIn and signInWithBrowther works great on simulators/emulators (both iOS and Android) but on physical device facing followin issue:
signIn
signInWithBrowther
signInSuccess
accessToken
getUser
User is not authenticated, cannot perform the specific action
At the same time:
getAccessToken
isAuthenticated
authenticated: false
Once again, on simulators everything works fine
authentication works on both simulator and physical device
authentication works only on simulators
await Okta.createConfig({ issuer: `https://${env.oktaDomain}`, clientId: env.oktaClientId, redirectUri: env.oktaSignInUri, endSessionRedirectUri: env.oktaSignOutUri, discoveryUri: `https://${env.oktaDomain}`, scopes: ['openid', 'profile', 'offline_access', 'email'], requireHardwareBackedKeyStore: false, androidChromeTabColor: colors.brown, browserMatchAll: true, httpConnectionTimeout: 15, httpReadTimeout: 10, }); await Okta.signInWithBrowser(); // same for await Okta.signIn()
If we fetch user using API (.well-known/openid-configuration and userinfo_endpoint), everything works fine
.well-known/openid-configuration
userinfo_endpoint
2.8.0
iOS 16.2 react-native: 0.70.3 @okta/okta-react-native: 2.8.0 xCode 14.2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug?
both
signIn
andsignInWithBrowther
works great on simulators/emulators (both iOS and Android)but on physical device facing followin issue:
signInSuccess
event triggered andaccessToken
receivedgetUser
, get errorUser is not authenticated, cannot perform the specific action
At the same time:
getAccessToken
returns same access_tokenisAuthenticated
returnsauthenticated: false
Once again, on simulators everything works fine
What is expected to happen?
authentication works on both simulator and physical device
What is the actual behavior?
authentication works only on simulators
Reproduction Steps?
Additional Information?
If we fetch user using API (
.well-known/openid-configuration
anduserinfo_endpoint
),everything works fine
SDK Version
2.8.0
Build Information
iOS 16.2
react-native: 0.70.3
@okta/okta-react-native: 2.8.0
xCode 14.2
The text was updated successfully, but these errors were encountered: