Introspect custom claims in Kotlin


I am using this: .

I receive a custom claim, included in the idToken, but I can’t access it. When I call introspectToken on the idToken, the callback is an IntrospectInfo object, which only gives access to the registered claims. The class is final and read-only.

How can I access the custom claim?