Closed vprtsingh closed 2 years ago
Hi @vprtsingh Did you find any solution for this issue?
@vprtsingh hmm... not sure if this will fix the issue, but there have been a few new major releases (v.6) for this lib. Try updating to the latest version - ^6.4.1
.
No response from OP - closing this out.
I'm experiencing the same issue on the latest version of this package. Here is the error reported on Sentry:
Error: State mismatch, expecting YaVdTh1hIlJdFb32qZ1cQEAKpyw6otAnEVwwRIivoGM but got hKFo2SBHNVQtUk53OGp0YTNEc3pMUHZNQWEtdUdtaUhqaUktRKFupWxvZ2luo3RpZNkgRDhYeUZuZWFfd2tLeFdiMmJTc1FHRDRUeXZNVFlQbkKjY2lk2SBDYUJCWGV2RWJoOU9wOHJRaU40RUVMYzU2UFZyVmRHbg in author...
at }, request: <OIDAuthorizationRequest: 0x280918000, request: (app:///callback&client_id=CaBBXevEbh9Op8rQiN4EELc56PVrVdGn&state=YaVdTh1hIlJdFb32qZ1cQEAKpyw6otAnEVwwRIivoGM>>)
at <global>(node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:106:51)
at apply(native)
at <global>(node_modules/react-native-app-auth/index.js:246:10)
at useInfiniteQuery(src/ducks/auth.tsx:123:16)
at <global>(node_modules/redux-thunk/lib/index.js:23:24)
at <global>(src/common/axiosMiddleware.tsx:142:20)
at <unknown>(src/screens/authentication/Login/index.tsx:325:30)
at <unknown>(src/screens/authentication/Login/index.tsx:156:9)
at apply(native)
Same for me. I have State mismatch, expecting B5IWddp2U3vqSGyr5qPA5LqwUCzUkIpD9DYCpvjW278 but got nQZI0e3nouWlqIrHDSGyayTu8qUN5DZWygA50Etm6Rg in authorization response <OIDAuthorizationResponse:
with env:
"react-native-app-auth": "6.4.3", "react-native": "0.70.6", "react": "18.1.0",
any one was able to solve it ?
Issue
It Working fine on android. But not for IOS
My Code
Error
Environment
Anyone help me as soon as possible