Resolving authenticators used


I’m trying to figure out if there is any way to know which authenticators (OTP, Webauthn etc) that was used by a user during a successful auth within a token mapper?

I tried looking in the keycloakSession.getContext().getAuthenticationSession() but its null in the token mapper.

Perhaps there is something else I’ve overlooked?


1 Like