Forum Discussion
AlexS_yb
Cirrocumulus
Jan 31, 2023Per Request access policy with OAuth Client Subroutine
I have a per request policy with a URI that is protected with a OAuth Client Typically this works by using 302 redirect either to /my.policy and then 302 to the OAuth server to get a new token My p...
- Jan 31, 2023
You can replace the 302 with 401 in the HTTP_RESPONSE_RELEASE event.
Don't forget to set:
ACCESS::restrict_irule_events disable
Hey Denny,
I've never run into that and I'm pretty sure I've used commands after the stream related commands in HTTP_RESPONSE (in 9.3 and probably 9.4 as well). Which version are you running? If you add logging do you see the cookie domain update and stream command being run? Can you reproduce the issue with any other commands besides HTTP::cookie domain?
Aaron