How to modify the header claims in id token

This is the id token generated by my application using custom authorization server. I am able to modify the claims in payload using inline token hooks. But I want to add a field named “typ” : “JWT” in header section of the token. Is there any way to do the same.

The typ header is not present in ID tokens and it is not possible to add it. For more information, please visit this link - OpenID Connect & OAuth 2.0 API | Okta Developer

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.