Replies: 1 comment 10 replies
-
|
Looking at what you pasted, everything looks correct to me. I haven't tested this on IIS Express, but there's nothing inherent with IIS Express which would get in the way. We call into asp.net core api's to do the work and are as agnostic to the HTTP implementation as we can be. All that to say, I would expect this to work. There are two pieces to this and I want to narrow down exactly which piece isn't working. Is the authentication piece working? In CheckAccess, is the user populated? The code which enforces the authorization is in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I spent a lot of time on this issue and I don't seem to find a solution. I'm hosting my app using IIS Express and I want to use NTLM authentication, using my windows user. I followed the guide Introducing ASP.NET Core Authorization support and modernization of legacy WCF Authentication and Authorization APis. This is my server code.
And my CoreWCF service:
And the interface:
This policy should deny all requests. However, I'm able to call the CheckAccess method and I get a response with status code 200.
For the "normal" Endpoint, GET /foo, the policy is applied and it returns 401.
Is my scenario not supported? Or is there something wrong in my code, or maybe even a conceptual misunderstanding from my side?
Beta Was this translation helpful? Give feedback.
All reactions