-
Notifications
You must be signed in to change notification settings - Fork 191
OWIN: IHttpAuthenticationFeature.Handler is not implemented #87
Comments
You encountered this running the Ms.A.S.Cookies middleware on an OWIN server, correct? Note: an intermediate fix would be to remove the exception and have the property act as a normal get/set field. We can worry later about mapping the IAuthenticationHandler implementation to the OWIN security contracts. |
Yes I was using Nowin and Ms.A.Owin packages since Kestrel isn't on myget as of yet. |
FYI: this has been fixed. |
Will a handler implementation be available in the near future? |
What pipeline setup are you trying to create? I want to make sure we prioritize the right functionality. |
I have mv6 + signalr3 + cookie middleware on nowin and wanted to able to do auth (in both mvc and signalr) using cookies. (I am managing identity via ASP.NET identity vCurrent + EF6.1.1) |
I am hosting on mono/Linux (ARM hard float) (should not make any difference) |
@borgdylan I've filed #93 to track that work. It's not immediately scheduled. I think we need to port/implement a few security middleware on the new stack to confirm IAuthenticationHandler works well before we try to map it. |
in teh mean time. would it be possible for me to use Ms.A.Owin to put in the cookie middleware from katana as part of the vnext pipeline? (would that allow me to propagate the user identity up and down the pipeline?) |
Or would it be possible to wrap the katana IAuthenticationManager as an IHttpAuthenticationFeature handler and use that in the vnext pipeline? |
Putting the Cookie v2 or v3 middleware into the vNext pipeline will be an interesting exercise. https://jabbr.net/#/rooms/owin would be a better place to discuss that. |
I found out that the Nowin wrapper I am using (based on @davidfowl 's Nowin.vNext) creates OwinFeatureCollection instances. If I were to set a wrapped owin auth handler there would it theoretically work? |
This makes requests fail if using the cookie security middle-ware.This is the stack trace I get:
The text was updated successfully, but these errors were encountered: