Currently we're logging out of keycloak, but not logging out of SiteMinder.
This causes issues when you try to login with a different BCEID or IDIR account. (BC Service Card accounts aren't affected).
Steps to reproduce:
Close all browser instances
Open Chrome
Login with BCeID/IDIR account A
Log out
Login with BCeID/IDIR account B
You'll see the error:
What we're currently calling (example from DEV):
https://dev.oidc.gov.bc.ca/auth/realms/fcf0kpqr/protocol/openid-connect/logout?redirect_uri=https%3A%2F%2Fyfthig-dev.web.app%2F%2Flogin
We'd need to change the logout to call logon7.gov.bc.ca (that wipes SiteMinder cookies):
https://logon7.gov.bc.ca/clp-cgi/logoff.cgi?returl=https://dev.oidc.gov.bc.ca/auth/realms/fcf0kpqr/protocol/openid-connect/logout?post_logout_redirect_uri=https://dev.bcregistry.ca/business/auth/&retnow=1
Currently we're logging out of keycloak, but not logging out of SiteMinder.
This causes issues when you try to login with a different BCEID or IDIR account. (BC Service Card accounts aren't affected).
Steps to reproduce:
What we're currently calling (example from DEV):
https://dev.oidc.gov.bc.ca/auth/realms/fcf0kpqr/protocol/openid-connect/logout?redirect_uri=https%3A%2F%2Fyfthig-dev.web.app%2F%2Flogin
We'd need to change the logout to call logon7.gov.bc.ca (that wipes SiteMinder cookies):
https://logon7.gov.bc.ca/clp-cgi/logoff.cgi?returl=https://dev.oidc.gov.bc.ca/auth/realms/fcf0kpqr/protocol/openid-connect/logout?post_logout_redirect_uri=https://dev.bcregistry.ca/business/auth/&retnow=1
Reference from bcgov/sso: https://github.com/bcgov/ocp-sso/issues/4