Layer7 API Management

Expand all | Collapse all

reponse_type=code issue

Jump to Best Answer
  • 1.  reponse_type=code issue

    Posted 04-10-2018 07:53 AM

    I am trying to gain an Authorization Code by sending a GET request to https://<SSG>:8443/auth/oauth/v2/authorize 

    Am I supposed to send the client_id, scope and response_type encoded in the url or added as headers? 


    When I try this: https://<SSG>:8443/auth/oauth/v2/authorize?response_type=token&client_id=cd19a0b9-cd2d-4414-9a9e-***********&scope=oob 


    I do not get a response, any ideas as to what could cause this? 

  • 2.  Re: reponse_type=code issue

    Broadcom Employee
    Posted 04-10-2018 08:30 AM

    Hi Christopher,


    This may help: OAuth Request Scenarios - CA API Management OAuth Toolkit - 4.2 - CA Technologies Documentation 


    These are the required query parameters:




    If multiple redirects are specified on OAuth manager you will need to specify one here as well.


    ie (using the test client id) 


    If you are not seeing a response I would use curl to check the response from the v2/authorize endpoint. May provide more detail what the client you are using.




  • 3.  Re: reponse_type=code issue
    Best Answer

    Posted 04-11-2018 10:21 AM

    Thanks Joe,


    Turns it out was due to my cluster.hostname being localhost instead of my actual local machine ip. Once I changed it, everything is working perfectly!