I have two iOS apps that use different Okta client IDs but share the same issuer. Both apps use okta-oidc-ios library for authentication.
When the user logs out in one app and logs back in with a different account, the other app can no longer log out and receives an id_token_does_not_match_session error from Okta.
Do you just need to end the Okta session at this point? Or are you just trying to fully log the user out of your application?
One option I can think of is to have your applications both check for the presence of an ID Token within the stateManagerbefore calling signOut. If there is no ID token available, your application should instead only complete the application level logout (revoking and clearing tokens) and should not attempt to signOutFromOkta