Layer7 API Management

 View Only
  • 1.  How to have additional claims in OIDC token

    Posted Jul 06, 2020 04:28 AM
    Hi Team,

    We are generating OIDC tokens with the below claims:-

    sub
    aud
    acr
    azp
    auth_time
    iss
    exp
    iat

    However I have a requirement to add 'nbf', 'jti' and 'name' as additional claims in the token. I am unable to add these in my token. Below is the screen shot of the Generate ID_Token assertion.

    Please help me how I can add those additional claims to my OIDC token.

    Regards,
    Rohan

    ------------------------------
    [Technology Analyst]
    [Infosys Limited]
    ------------------------------


  • 2.  RE: How to have additional claims in OIDC token

    Broadcom Employee
    Posted Jul 06, 2020 08:10 AM
    Hello Rohan,

    Please look at our doc on adding additional claims.

    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-management-oauth-toolkit/4-4/installation-workflow/configure-authentication/token-configuration/configure-jwt-access-tokens.html

    ------------------------------
    Support Engineer
    Broadcom
    ------------------------------



  • 3.  RE: How to have additional claims in OIDC token

    Posted Jul 06, 2020 08:47 AM
    Hi Matthew,

    Thanks a lot. But I need to have those additional claims in my OIDC Token (ID_Token) and not in JWT Access Token. Please let me know if there is any way to add those additional claims in the OIDC Token (ID_Token).


    Regards,
    Rohan

    ------------------------------
    [Technology Architect]
    [Infosys Limited]
    ------------------------------



  • 4.  RE: How to have additional claims in OIDC token
    Best Answer

    Broadcom Employee
    Posted Jul 06, 2020 09:07 AM
    Hello Rohan,

    Sorry about that, here is the doc on Open ID connect.

    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-management-oauth-toolkit/4-4/openid-connect-implementation/openid-connect-discovery.html

    ------------------------------
    Support Engineer
    Broadcom
    ------------------------------



  • 5.  RE: How to have additional claims in OIDC token

    Posted Jul 12, 2022 10:30 AM
    Is there a solution to this question yet?