Hi,
I am using wildfly 25 (elytron-oidc-client).
To login, I use OIDC auth-method (backed by keycloak).
I would like to do this:
if (principal instanceof OidcPrincipal) {
OidcPrincipal<OidcSecurityContext> kp = (OidcPrincipal<OidcSecurityContext>) principal;
However, this doesn't work.
Any ideas to obtain the IdToken (or other related info from the principal) ?
Regards,
Duncan