Open abhi4578 opened 6 months ago
- Different User Agents interpret this status code differently:
- cURL changes the HTTP method from POST to GET after the redirect; this causes the request body to be dropped. it later makes a POST to the redirected URL, but since the request body is dropped, we get a 400 Bad Request due to a null body from the server
- Postman converts the POST to GET outright, and we get a 404 Not Found error since there is no GET /token API.
- Another issue occurred at AAA server specifically. The 'Authorization' header is stripped of during the redirect by clients (curl, postman) for security purpose (ref: https://stackoverflow.com/a/28671822). This header is used only at AAA server and hence effects AAA server specifically.
nginx.ingress.kubernetes.io/permanent-redirect-code: '308'
Different User Agents interpret this status code differently:
Another issue occurred at AAA server specifically. The 'Authorization' header is stripped of during the redirect by clients (curl, postman) for security purpose (ref: https://stackoverflow.com/a/28671822). This header is used only at AAA server and hence effects AAA server specifically.