Hello,
I have a question related to the logout flow when Identity providers are being used.
Let’s say that an organization Z has an identity provider to organization A with a routing rule which is domain specific(let’s say yahoo.com). When a user(test-user@yahoo.com) from organization A, who successfully managed to login through the identity provider, attempts to logout, my application sends a /oauth2/default/v1/logout request to the domain of organization Z and everything seems to work fine.
However, when the user attempts to login in my application again, no matter what they input in the username field, the validation passes and they log in with the test-user@yahoo.com.
So in other words, I wanted to ask if I’m using the /oauth2/default/v1/logout endpoint properly.
Is there a detail that I’m missing regarding the cleanup of the session/token of the user?
I have faced a similar issue with federated okta organisations and am still not able to resolve it. How exactly can you preform federated logout when the okta external IDP configuration does not accept OIDC logout endpoint?