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?
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.
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!