Layer7 API Management

Expand all | Collapse all

How do we send the request for getting an Oauth token from OTK in CA API Gateway?

  • 1.  How do we send the request for getting an Oauth token from OTK in CA API Gateway?

    Posted Oct 25, 2018 06:38 AM

    Hi Team,

     

    I am new to API OTK. I  want to implement a use case where the user wants an API where OAuth token generation is done after one of its end-point is called. To achieve this we need to generate OAuth token within our policy.

    Can anyone please suggest any endpoint to generate OAuth token and what parameters are to be sent with it?

    We also need to verify this token in the corresponding request manually within our policy.

    Please suggest what could be done to achieve this.

    Any suggestion would help.

     

     

    Regards,

    Himanshu

    CA API Management Community #caapim



  • 2.  Re: How do we send the request for getting an Oauth token from OTK in CA API Gateway?
    Best Answer

    Broadcom Employee
    Posted Oct 25, 2018 08:16 AM

    Hi Himanshu,

     

    If you are using one of the standard grant types details can be found here on the endpoints/parameters needed.

    OAuth Request Scenarios - CA API Management OAuth Toolkit - 4.3 - CA Technologies Documentation 

     

    The endpoints can be protected (and the token validated) following the below:

     

    Secure an API Endpoint with OAuth 2.0 - CA API Management OAuth Toolkit - 4.3 - CA Technologies Documentation 

     

    Regards,

    Joe