I am trying to generate Cookies value using authorize endpoing and following below mentioned process.
- Start the flow by calling the /authorize endpoint
- You will be redirected to /u/login endpoint, capture the
state
parameter here. - Make a POST request to /u/login endpoint. Use the
state
parameter in both Request Body and Request Params. Also, pass theusername
andpassword
in the body (x-www-form-urlencoded)
As a response I am getting 302 response code as expected but location value returned is incorrect
Expected: /authorize/resume?
Actual: It displayed some url related to application login page with garbage values
Please let me know anything is missing or any settings related to it