/authorize endpoint returns 200 with html output.

/authorize endpoint returns 200 with html output. The API documentation states that it should return 302 status with authorization code.
The documentation at OAuth 2.0 Authorization Framework, states that response_mode parameter as fragment & query should return the code. However this parameter is not taking any effect. How to get the authorization code without redirecting the request?

3 Likes