Questions tagged [owin]
Open Web Interface for .NET that describes how components in a HTTP pipeline should communicate.
owin
4,632
questions
0
votes
0
answers
9
views
OWIN middleware, "An existing connection was forcibly closed by the remote host" error when adding header to streaming response
I have a simple middleware class that gets a "Correlation Id" from the incoming request and then add that "Correlation Id" to the response. It works fine for most request but when ...
0
votes
0
answers
32
views
The Web API responds to the browser before the await Task.Delay finished executing
I'm working on an OWIN ASP.NET Web API 2 application which uses Autofac.
I ran into some issues because some code after await is never executed when the client app (browser) is cancelling the request.
...
0
votes
0
answers
22
views
ASP.NET MCV 5 Facebook login AuthenticationManager.GetExternalLoginInfoAsync returning null
I am implementing Facebook login to a MCV 5 project.
I am able to login successfully to facebook and call to
public async Task<ActionResult> ExternalLoginCallback(string returnUrl)
but the ...
0
votes
0
answers
57
views
Persist Owin login cookies between Visual Studio debug sessions
I have recently switched to a different workstation and on the old workstation my login cookies/session would persist after I rebuild the project so when debugging something I wouldn't need to always ...
0
votes
0
answers
22
views
Using Owin behind Application gateway proxy in order to implement Microsoft Azure SSO
I've used OWIN to develop Single Sign On for Microsoft Azure and it's worked (on port 443) but now the customer has installed an Application Gateway (https) and my application have to run on port 80 (...
0
votes
0
answers
72
views
OpenID Connect Exceptions not using UseExceptionHandler middleware
Currently looking into the odd failure in one of our ASP.NET Core 8.0 MVC websites you maybe able to help with.
To prefix, authentication works fine 99% of the time, however as shown in screenshot #1, ...
0
votes
0
answers
26
views
OpenId Connect Authentication only execute MessageRecieved and RedirectToIdentityProvider
I am currently working on a project that requires implementing a Single Sign-On (SSO) login functionality using Microsoft Azure Active Directory (AD) and OpenID Connect. The desired user experience is ...
0
votes
0
answers
20
views
ASP.NET application, Converting login to use FusionAuth, Login Button needs to fire 2 times before redirecting to AuthLogin
I'm working on a website that currently uses a membership driven login, but they are wanting us to switch to using a FusionAuth login, before trying to use this login we have to verify the customers ...
0
votes
0
answers
12
views
Microsoft ASP.net Identity Owin Email login not working for specific username
We are having a weird issue when utilizing Microsoft.AspNet.Identity.Owin for logins. We have this hosted on an IIS server, with at least 50 people successfully logging in and utilizing the software. ...
0
votes
1
answer
35
views
No redirection to Okta when trying to use Okta-hosted login
I have an ASP.NET MVC on .NET 4.8 project and I'm trying to implement a login via Okta. When I click the 'Login via Okta' button on my view, all it does is refresh the page.
This is my web.config:
<...
1
vote
0
answers
21
views
Upgraded OWIN libraries from version 3.0.1 to 4.2.0 Http RequestUri is coming in capital later
After upgrading the OWIN libraries from version 3.0.1 to 4.2.0, the Http RequestUri is now coming in capital letters. This means that if I am requesting from the front end like http://localhost/...
0
votes
2
answers
193
views
Azure AD Authentication Issue with ASP.NET MVC Application Behind Proxy: Missing .AspNet.Cookies Cookie
I have a legacy ASP.NET 4.8 MVC application which is being migrated to use Azure AD Authentication using the Microsoft.Owin framework. The application configuration works fine on my local machine. ...
1
vote
1
answer
33
views
ssl.LoadClientCertAsync and ssl.ClientCertificateErrors in ASP.NET Core
I have to rewrite middleware in ASP.NET Core and this middleware makes use of some OWIN keys. Among them ssl.LoadClientCertAsync and ssl.ClientCertificateErrors. You can see similar middleware in this ...
0
votes
0
answers
19
views
Can't get Session Timeout working after change from OpenIdConnect
I have a Dot.Net 4.8 project that has currently migrated to using Owin for Authentication, but Session Timeouts don't work any more.
This was working when the app used OpenIdConnect, but I can't ...
0
votes
1
answer
40
views
SAML Authentication with Azure success but AuthenticationManager.SignIn with claims, does not authenticate
We are doing SAML authentication with Azure AD.
The ExternalLoginCallback method gets the external authenticated user, using AuthenticationManager.GetExternalLoginInfo()
When we check this object's ...