Logging out of Multiple Gateways with OpenID

Hi!
I have 2 gateways with the same idp (openID) and user source (ad internal hybrid) configured.

Whenever I log in in gateway A I have to use the user and the password, however, when I change the url to go to gateway B (without changing the session) I only have to click the log in button and I don't have to put anything (neither user and password).

This means that when I log in in gateway A I obtain a token that is valid to gateway B.

However, because I am using different gateways when I log out in either of the gateways the other gateways stays logged in. Is there any way of logging out of all current gateways or maybe invalidate the current token so it doesn't work.

Maybe I'm not going the right direction, any help is appreciatted.
Our objective is to be able log in either gateway and be able to go to the other one without the need to log in again. Something similar to when you log into 1 service of google and you are able to enter whatever google service.

Thanks!

This is contradictory. You can only configure one or the other of those.

The only crossover between Identity Providers and User Sources is when you use a gateway's Internal Identity Provider, configured to delegate to a specific user source.

I suspect the configuration of one of these gateways is not what you think.

To achieve your objective, you do need to use a single IdP.