Forum Discussion
Squeak
Cirrus
Oct 06, 2021Send cookie to client after authenticated by APM
Hi, I´ve a scenario that requires that the APM sends a cookie back to the client after the user has been authenticated by the APM but before the user "hits" the backend server. Normally I...
kgaigl
Cirrocumulus
Oct 18, 2021we've an IRule like this:
when ACCESS_ACL_ALLOWED {
set user [ACCESS::session data get "session.logon.last.username"]
}
when HTTP_REQUEST_RELEASE {
HTTP::header insert "X-Forwarded-User" $user
}
when HTTP_RESPONSE_RELEASE {
log local0. "[HTTP::status] [HTTP::header "Location"]"
}so maybe you can change this to your needs, for example instead of "header insert" "cookie insert"
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects