-
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
Description
I am using the following authorization policy, attempting to get a 401 returned to browser so that client-side js can handle the error. But browser still sees the default 302 returned.
Any idea how to achieve that?
authorization policy my_policy_401 {
set auth url https://xxxxx
crypto key verify yyyyy
allow roles authp/admin authp/user
acl default allow
set token sources cookie
inject headers with claims
disable auth redirect
}