Forum Discussion
Grabbing the user name from HTTP 401 Response from APM
I have users that want to use a custom login different from their UPN and samAccountName. I'm using the 401 because I have windows client apps connecting to a back-end server. I need to capture the user name do a lookup against AD (I already have this part) and put the UPN into a SSO session variable. When the client application connect it seems to use Negotiate instead of Basic auth. Even if I have HTTP Auth Level set to basic.
I have read a lot of documentation but I'm still a little confused on my options with the HTTP 401 Response (APM module).
1 Reply
- Kevin_Stewart
Employee
Can you verify:
-
In the 401 request to the client that there is only one WWW-Authenticate header defined and is using Basic?
WWW-Authenticate: Basic realm="test" -
That the corresponding response is NTLM and not Basic.
Authorization: Basic ZHVkZTp0ZXN0
-
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