Layer7 API Management

 View Only
  • 1.  OAuth Manager Custom configration

    Posted Apr 01, 2020 02:33 PM
    How to configure OAuth Manager that the token remain valid for 1 hour. instead of 3600 sec. I want the "expires_in": 86400,. Configure the below mentioned property but did not get the "expire_time=8600" it remain as "expires_in": 3600,PFB:

    "lifetimes":{
       "oauth2_access_token_lifetime_sec":86400,
       "oauth2_refresh_token_lifetime_sec":432000
    }

    {
       "access_token": "cfa08f98-edc7-7557-b8d8-5bf03ef630b0",
       "token_type": "Bearer",
       "expires_in": 3600,
       "scope": "oob"
    }

    Please assist.


  • 2.  RE: OAuth Manager Custom configration
    Best Answer

    Broadcom Employee
    Posted Apr 02, 2020 12:39 AM
    Hello,
    These can be customized in OTK policy, please refer to the document,
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-management-oauth-toolkit/4-4/customizing-the-oauth-toolkit/configure-token-lifetime-properties.html


    Regards,
    Mark