-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic authentication tests fail in CI when using IIS-hosted services #1111
Comments
@zhenlan and @hongdai -- yes, this is probably only a test bug. Right now, the ConditionalFact for Basic_Authentication_Available is true only for self-host, so this is skipped in CI runs using IIS. I believe we are waiting for Hong to tell me how to write a ConditionalFact that will allow it to work against IIS now that the security folder PR is in. Example: does the Util service need and endpoint to query? Is it true only on Windows? etc. Edit: Digest_Authentication_Available ConditionalFact is also overly simple and just tests for localhost. Before I can provide a smarter ConditionalFact for it, I need to know from Hong how to determine when Digest can be used. A query to the Util service? |
Matt and I have just discussed it. Create a local account on service for basic auth imposes a security risk. Instead we can have a test similar to Digest no domain. Reassign the bug to Matt. Matt will implement a basic auth test without the need of a local user account created in the IIS hosted test server machine. |
Enable basic auth tests with domainless custom authenticator Fixes #1111
The Basic authentication tests fail on CI runs against IIS-hosted WCF services but pass in self-hosted. Likely cause is that Basic Authentication is not enabled for the CI web sites in IIS.
These are the 2 failing tests:
Failure looks like this:
The text was updated successfully, but these errors were encountered: