Skip to main content

Questions tagged [owin]

Open Web Interface for .NET that describes how components in a HTTP pipeline should communicate.

owin
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 ...
JHJ's user avatar
  • 323
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. ...
user25652029's user avatar
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 ...
rubenrb's user avatar
  • 76
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 ...
Tommy B.'s user avatar
  • 3,561
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 (...
kaddhuzzu93's user avatar
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, ...
m.t.bennett's user avatar
  • 1,310
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 ...
SAIWA's user avatar
  • 1
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 ...
Mark Fall's user avatar
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. ...
Eric's user avatar
  • 252
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: <...
nickdip's user avatar
  • 11
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/...
Anil Kumar Maurya's user avatar
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. ...
Jay's user avatar
  • 280
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 ...
Yola's user avatar
  • 18.9k
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 ...
bregia's user avatar
  • 75
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 ...
Rakesh Guranani's user avatar

15 30 50 per page
1
2 3 4 5
309