Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

302 redirect is responded with broken URL 404 error.

Not applicable

I've created proxy for my website:

Proxy URL: http://example.com/v1/abc

When I call target endpoint directly, example: GET http://example.com/v1/abc/admin

Proxy path will be substituted with load balancer url and hit the target server with - http://loadbalancer.com/admin

Here we have redirect to login page - http://sso.login.com/login?goto=http://example.com/v1/abc/admin

After successful login I get the response of 302 redirect to http://example.com/admin

I am expecting a response path to be http://example.com/v1/abc/admin

when i fix the response path from http://example.com/admin to http://example.com/v1/abc/admin....302 redirects goes into loop. Thanks in advance.

0 4 1,760
4 REPLIES 4