Forum Discussion
APM Irule: Verification of Cookie after redirect.
I have a VIP which is protected by APM and an Irule that contains a event section that is called during the APM process to check and see if the user has a specific cookie and if they do not have this cookie they get redirected to the front-end of a SSO site. After authenticating to this SSO Application they are redirected back to the front-end of the application protected by APM and there should be a cookie that was inserted by the SSO agent. What happens is I see the cookie in the 302 response back to the user, but the cookie is not present in the following request to the application after the 302. I initially assumed that the domain of the cookie was not correct however I have tried setting the domain, not setting the domain and I never receive the cookie after the redirect. Does anyone out there have any suggestions?
2 Replies
- Kevin_Stewart
Employee
Can you show what the Set-Cookie header looks like in the 302 redirect?
- Kevin_Stewart
Employee
Okay, so please verify that the request after the 302 and Set-Cookie header (the one missing this cookie):
-
Is in the same domain as that set in the domain attribute, and
-
Is behind an HTTPS URL
You also mentioned that you captured this earlier today, presumably the 28th of April, 2014, but this cookie is set to expire on the 24th of April, 2014.
-
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