I'm using openidConnectClient-1.0
to authenticate users within my application by using OpenID protocol. Basic authentication works fine, but I need to get values of additional fields from JWT token which OpenID provider pass to me.
Found this answer on IBM's dwAnswers site: Additional fields from JWT using openidConnectClient where were given the following solution:
com.ibm.websphere.security.openidconnect.token.IdToken idToken = PropagationHelper.getIdToken();
Object claim = idToken.getClaim("");
This code works like a charm but I barely find mention of this API on IBM's website, what I have found is only this Javadoc API for Class PropagationHelper, Javadoc for IdToken
I didn't find.
So, my question is it official API and will it be supported by future liberty releases and can I use it?