You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a proxy with authorisation by a short-lived token in the header. The token is valid for a few hours, then it needs to be replaced with a new one.
I'm using Spring 6 and spring-boot-starter-webflux. I'm creating the webclient and setting up it proxy once when creating the context.
According to HttpProxyHandler outboundHeaders are updated once on creation.
What is the correct way to set dynamic headers in the proxy?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using a proxy with authorisation by a short-lived token in the header. The token is valid for a few hours, then it needs to be replaced with a new one.
I'm using Spring 6 and spring-boot-starter-webflux. I'm creating the webclient and setting up it proxy once when creating the context.
According to HttpProxyHandler outboundHeaders are updated once on creation.
What is the correct way to set dynamic headers in the proxy?
Beta Was this translation helpful? Give feedback.
All reactions