Closed yatw closed 2 years ago
Hi @yatw sorry to hear you're running into issues. Can you make sure you're including the latest OkHttp and Okio in your build?
I've seen reports of issues similar to this before. And it looks like there might be a threading issue too. It looks like you have coroutines in your stack trace. Could you tell us more about how you're calling this? Or ideally provide a test case, or buildable/reproducible sample.
Thank you for the response. The project still have the same problem after updating to latest `implementation 'com.okta.android:okta-oidc-android:1.2.1' Unfortunately, I cannot reproduce this problem in another minimal project. I do believe it is some threading issue. I will give more update here if I have more information. Feel free to close this issue for now.
Hi I am using SyncWebAuthClient with SyncSessionClient. But when I refresh token, I get the following error, looks like okta internal error with okhttp. Appreciate any help.
Reproduced by leaving the app in the background for a few hours, wait for access token to expire, come back and call refreshToken.
Device: xiaomi redmi 7
My usage, getAccessToken() is called.