okta / okta-oidc-android

OIDC SDK for Android
https://github.com/okta/okta-oidc-android
Other
60 stars 45 forks source link

OKTA-431176 Run SessionClient requests in serial. #277

Closed JayNewstrom closed 2 years ago

JayNewstrom commented 2 years ago

Description:

Canceling requests is causing exceptions, rather than cancel the previous request, let's run them in serial, before we can rearchitect to run them in parallel.

This is a working solution, with minimal changes to avoid unexpected breakage. Another approach would have been to rewrite RequestDispatcher, but I decided against it until a rearchitecture.

Testing details:

Other considerations:

RESOLVES:

OKTA-431176

Primary Reviewer(s):

Additional Reviewers:
Security Reviewer(s) (@ okta/rex-team if necessary):
UX Reviewer(s) (if necessary):