Handling Authorization header when following redirects within the same domain #14502
Unanswered
crucio-009
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
You can preempt the authentication for the redirected URL as described here: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a use case where a 303 redirect is sending us to a dynamically generated url which sends 401 when the client makes the GET call, we are using the Jetty HTTP Client and I can see that in
org/eclipse/jetty/client/HttpClient.javawe explicitly remove the AUTH related headers when copying the request. Any ideas how to reattach them when the request lifecycle reaches the GET call?Beta Was this translation helpful? Give feedback.
All reactions