bcgov / cas-ggircs

Climate Action Secretariat's Greenhouse Gas Industrial Reporting and Control System
Apache License 2.0
3 stars 4 forks source link

cas-ggircs keycloak incorrect idir redirect #392

Closed dleard closed 2 years ago

dleard commented 2 years ago

Describe the Bug:

Desired behaviour

Dev notes

The custom mapper running a small piece of javascript to extract the broker_session_id was removed as part of either the OCP4 migration or a Keycloak update. see what @matthieu-foucault did for cif in the dev realm, we can extract identity_provider from the User Session Notes and pass that to the client within the id_token claim

Probability (1-5): 1

(only if a new IDIR person non-configured in the system tries to access)

Effect (1-5): 2

(wrong redirect for user, goes back to a requires login page even though they are logged in)