Forum Discussion
F5 looses the token for the first call
Hi Ozzy, can you kindly share more details on how you fixed this issue with an irule? We're running into a similar issue where we authenticate to the APM (VPN portal) using Entra ID. Once inside the portal, upon clicking on the app resource/link (app uses Entra ID as well), we're prompted to login to Entra ID again (this time fully proxied behind APM). Any help you can offer is greatly appreciated!
- OzzyMar 28, 2025
Cirrus
Hi David , yes sure , we deploy this irule to our vs. It works fine. But first you should check authentication header
when HTTP_REQUEST {
set auth 0
if { [HTTP::header exists "Authorization"] } {
set auth [HTTP::header value "Authorization"]
}}
when HTTP_REQUEST_RELEASE {
if { !([HTTP::header exists "Authorization"]) && !($auth equals 0) } {
HTTP::header insert Authorization $auth
}unset auth
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com