cancel
Showing results for 
Search instead for 
Did you mean: 

Custom answer from apm with oauth profile

Dmitry_A__Syso1
Nimbostratus
Nimbostratus

Hi, dear colleagues!

 

i have a problem. i want to be able to report the reason for the authentication error to client. For example that the user is locked out. But, unfortunately, at the end of the policy, the access policy gives only the fact of denied, without reason

 

i'm explain. when i use access policy without oauth profile - i can create custom response if result access policy is denied, like in this topic

 

https://devcentral.f5.com/s/question/0D51T00007HPTaR/how-to-have-f5-apm-send-a-401-status-code-back-...

 

but if i use access policy with oauth profile solution below is not work and i get only one response like https://xxxx.com/data?error=access_denied&state=xxxx

0 REPLIES 0