Now what happens is, when my AD auth is passed (post on /my.policy), I get 200 OK from F5.
and then I proceed for 2nd Level Auth (http auth, which is external logon page). After Successful logon here, I get 302 and then I land on my actual application.
If I remove the 2nd level auth, F5 responds with 302 after AD auth and proceed with application actual page.
Now my customer wants to have 302 even after the first logon (i.e. AD auth). I tried replicating in my lab and I get 200 OK after AD auth if I have 2nd level auth in place.
Can you help me in finding if there is a way, I can change the 200 OK to 302, when I post the login credentials on my First level of Auth (i.e AD)
If you see the VPE above, after AD auth, it goes to MACRO, which actually is 2nd Level Auth. So After AD auth, User is actually redirected to the External Logon Page and everything works fine. The issue here is that the F5 is sending 200 OK after AD Auth before going to 2nd level auth, but user want it should be 302, because of some “security audit” purposes.
As I said, everything is working fine, but just needs to see why F5 responds with 200 OK if 2nd Level HTTP AUTH is in place and is there a way to change it???
If you remove HTTP Auth, from the flow, F5 responds with 302 and takes you to app. which is fine. So the question here is regarding the 200 OK that comes after AD AUTH…
See my HTTP watch output for a lab scenario, where I remove the 2nd level auth and I get 302 while posting on /my.policy
Dear Stanislas, Actually External Logon Page is Another VS on same F5, and based on URI, the iRule sends the request to that VS (host header remains same). Please see the snapshot below. I could not replicate the exact scenario customer has, but I used an internal HTTP Auth Server. Maybe the below snapshot gives a clear idea, where you can see that after the post on /my.policy , F5 gave us a 200 OK and then the next request went to external logon URI which is something like /mfaqasit…