Forum Discussion
Return back a 403 or 401 through an access policy
Here is my scenario:
I have a webservice that is going to be invoked by some clients. I want to make sure that if their AD authentication fails, that they are sent back a 403 HTTP status code, as opposed to a webpage stating "Your session could not be established". Likewise, if an AD query fails I want to return back a 401 HTTP status code.
Is this possible to do?
1 Reply
- Lucas_Thompson_Historic F5 Account
Yes. Look up "Clientless Mode" on devcentral here and find threads related to it and how to use "401 response". If you have specific questions about it, let us know.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com