Comments (2)
Actually, I think I got it working. Apparently cookies are required. In my own middleware (that runs after the Ntlm middleware) I do this:
if (Request.User == null)
{
Request.Context.Authentication.Challenge(new AuthenticationProperties{RedirectUri = Request.Uri.ToString()}, CookieAuthenticationDefaults.AuthenticationType, NtlmAuthenticationDefaults.AuthenticationType);
return null;
}
from pysco68.owin.authentication.ntlm.
Yeah, this NTLM authentication middleware hooks into the normal ASP.NET identity 2.0 call chain. It basically boils down to the same as some OAuth provider. Once your client has the cookie, authenticating over SignalR should work flawlessly.
from pysco68.owin.authentication.ntlm.
Related Issues (16)
- CallbackPath check fails when BasePath is not /
- Prompted for credentials HOT 1
- Authorization header always missing HOT 8
- You should port to .net core HOT 1
- IOwinRequest in OnCreateIdentity callback HOT 2
- Why Owin.Extensions and Owin.Types are referenced? HOT 2
- Configuration of CallbackPath not working as expected HOT 2
- The identity in RequestContext.Principal.Identity does not provide domain name HOT 5
- Retrieve User Identity [Question] HOT 4
- NTLM authentication works well on IIS Express (Visual Studio) but fails on IIS. HOT 4
- HandshakeState.IsClientResponseValid failed while accesing specific domain instead localhost
- Feature request: give me a hook for rejecting particular users HOT 5
- possible to use token instead of cookie? HOT 1
- Virtual Directory CallbackPath HOT 6
- Sample using this Nuget package HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysco68.owin.authentication.ntlm.