I know about adding static custom params for OIDC such as:
cas.authn.pac4j.oidc[0].generic.custom-params.foo=bar
But I want to pass in a dynamic param, like language:
cas.authn.pac4j.oidc[0].generic.custom-params.lang=zh
cas.authn.pac4j.oidc[0].generic.custom-params.lang=jp
cas.authn.pac4j.oidc[0].generic.custom-params.lang=en
etc, depending what the application is displaying.
From logging, i see these two method having access to the static properties:
DelegatedClientAuthenticationRedirectAction->doExecute
DelegatedClientAuthenticationRedirectAction->handleIdentityProviderWithExternalRedirect
but I can't find a straight fwd way to pass in my dynamic attribute. I just need the class with access to the TARGET url of cas/login?TARGET= so that I can inject my param.
Thanks.
-psv