webMethods

 View Only
Expand all | Collapse all

How to set the length on the Oauth2 token from invoke/pub.apigateway.oauth2:getAccessToken?

  • 1.  How to set the length on the Oauth2 token from invoke/pub.apigateway.oauth2:getAccessToken?

    Posted Thu October 26, 2023 04:19 AM

    Hi team

    My customer using APIGateway 10.15 and they created Oauth2 from API Gateway. when we get the token from invoke/pub.apigateway.oauth2:getAccessToken, such this :

    output
    {
    “access_token”: “710c88b9238e4b208549cd034dbb3a4e3b6dce0b7d96485196dff3c95d1a4089”,
    “token_type”: “Bearer”,
    “expires_in”: 3600,
    “scope”: “OAuthStartegyClient”
    }

    The question is how we can define the number of bit in the token from the generated results of getAccessToken services ? cause customers have requirements for tokens to be 2048 bit.

    I really appreciate your help.

    Thanks,
    Dimas


    #Flow-and-Java-services
    #webMethods
    #API-Management
    #Integration-Server-and-ESB
    #API-Gateway


  • 2.  RE: How to set the length on the Oauth2 token from invoke/pub.apigateway.oauth2:getAccessToken?

    Posted Mon October 30, 2023 01:21 AM

    hi @dimas.prayogo,
    As of now there is no option where we can set the bits for access token generation.
    Can you please raise the feature request for it and then R&D can look into it.

    Regards
    Vikash Sharma


    #Integration-Server-and-ESB
    #API-Gateway
    #Flow-and-Java-services
    #API-Management
    #webMethods


  • 3.  RE: How to set the length on the Oauth2 token from invoke/pub.apigateway.oauth2:getAccessToken?

    Posted Mon October 30, 2023 10:16 PM

    Hi @Vikash_Sharma1

    I could not find the bit length of access token generated by APIGW in our documentation. Could you please share?
    and is there any workaround can be implemented for such requirement?


    #API-Gateway
    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #API-Management
    #webMethods


  • 4.  RE: How to set the length on the Oauth2 token from invoke/pub.apigateway.oauth2:getAccessToken?



  • 5.  RE: How to set the length on the Oauth2 token from invoke/pub.apigateway.oauth2:getAccessToken?

    Posted Thu November 02, 2023 03:07 AM

    Hi @Vikash_Sharma1 ,

    Noted with Thanks.

    I have doubts, Does that mean the access_token from Oauth2 is currently not 2048 bits?
    May I ask, how can we ensure the exact number of access_token bits generated by Oauth2 ? because according to customers the number is less than 2048 bits.

    Best Regards,
    Dimas


    #API-Management
    #Integration-Server-and-ESB
    #API-Gateway
    #webMethods
    #Flow-and-Java-services


  • 6.  RE: How to set the length on the Oauth2 token from invoke/pub.apigateway.oauth2:getAccessToken?

    Posted Thu November 02, 2023 05:40 AM

    hi @dimas.prayogo,
    As of now we dont have option where we can configure the number of bits can be specified for token generation.
    I would suggest to raise an support ticket so if this can be done from backend R&D team can help you with it.

    Regards
    Vikash Sharma


    #Flow-and-Java-services
    #API-Gateway
    #webMethods
    #API-Management
    #Integration-Server-and-ESB