cancel
Showing results for 
Search instead for 
Did you mean: 

SSO Oauth Bearer issues with send token on 4xx

AlexS_yb
Cirrostratus
Cirrostratus

Trying out the SSO OAuth bearer

 

works fine as is, but when i change from send always to send on 401 it never sends.

 

Its done on pre request maybe thats the issue ..

 

Any one got it working ?

2 REPLIES 2

AlexS_yb
Cirrostratus
Cirrostratus

Worked out the trick. the 401 must hint at Bearer WWW-Authenticate 

Well sort of, thats a good place to start. but it doesn't mention that the 401 header needs to have 

 

WWW-Authenticate: bearer

 

if it doesn't then the f5 ignores the 401 and send it through to the original client - but not the oauth client as its the F5.