4,623 questions
0
votes
0
answers
42
views
.AspNet.Cookies not set in IIS virtual application when using OWIN cookie middleware with .NET Framework
I'm running a .NET framework 4.7.2 application using OWIN cookie authentication under IIS as a virtual application locally (e.g., https://example.test/cms/) but I end up in and endless redirect loop ...
0
votes
0
answers
33
views
.NET 4.6 Owin application gets authenticated, but User.Identity.IsAuthenticated stays false
Last weekend, I deployed an old .NET 4.6 application with OpenId authentication to an IIS server without any problem. Two days later, the problem started that the authentication falls in a loop ...
0
votes
0
answers
44
views
How to use Autofac container for cleaning up on application shutdown?
We have an ASP.NET MVC 5 Owin application with Web API 2 controllers and SignalR hubs. We are using Autofac as a DI container.
At some point we've changed the Owin configuration to get the same ...
1
vote
0
answers
43
views
DevExpress MVC Grid Callbacks Not Reaching Controller After Migrating to Azure AD B2C (OWIN)
I have an ASP.NET MVC web application using DevExpress controls (specifically ASPxGridView and MVCxGridView) that was originally using Forms authentication.
As part of a security enhancement, I’ve ...
0
votes
0
answers
20
views
OWIN - How to check if user has already authenticated with external identity provider
We are implementing OWIN authentication to our legacy ASP.NET Webforms app through Keycloak. In Keycloak, we have two external identity providers. On our login page, there's two buttons as well ...
0
votes
0
answers
29
views
c# microsoft.owin External Login
a few years ago i've implemented on my web site the external login from google, facebook and linkedin using the microsoft.owin library.
It's almost 3 months that facebook and linkedin have been having ...
0
votes
1
answer
74
views
ASP.NET MVC : Owin external login returns redirect inside the login popup
I have an external login that I am utilizing Microsoft.Owin to authenticate the user.
It is working correctly, where the user can sign in and register using their Google Login.
My problem is, the ...
0
votes
0
answers
46
views
OWIN Authentication Cookie Not Created After Expiration
I have two applications:
X
Y
I am using OWIN cookie authentication for X and handling user sign-in through Y.
Flow:
After signing in successfully on Y, it redirects back to X with an OAuthToken.
On ...
0
votes
0
answers
19
views
Conditionally force login with SAML connections using Owin
We have a active SAML authenticated session in this ongoing session we want to re authenticate the user by forcing the user to enter credentials to re-authenticate and we also do not want to hamper ...
1
vote
0
answers
30
views
ASP.NET MVC Entra login Request.IsAuthenticated return false even after a successful login
I am using Microsoft owin cookie based authentication for ASP.NET form based authentication and it will return IsAuthenticated=true. But when I use owin authentication for get authenticated from Entra....
0
votes
0
answers
145
views
Sustainsys.Saml2.Owin: how to invoke UseSaml2Authentication with multiple sets of different Saml2AuthenticationOptions
I am new to Saml2 so please forgive me if I don't get the terminology quite right. I have been tasked with implementing SSO in our application. I have a situation similar to this question. In our ...
0
votes
0
answers
75
views
OpenId Connection Problems - OpenIdConnectAuthenticationHandler: message.State is null or empty
I'm building my first app with Blazor, and it's actually my first project authenticating with RapidIdentity as well. I have my URIs and ClientId / Secrets already setup as well.
Anyway, I'm having ...
0
votes
0
answers
68
views
AsyncLocal for context sharing
I have a .NET standard library that is being consumed by a .NET v4.7.2 application. I have a custom middleware in the application which extracts OWIN context and sets it to a AsyncLocal<...
0
votes
1
answer
74
views
OnRedirectToIdentityProvider does not fire when publish my ASP.NET webforms app on IIS
I have an ASP.NET webforms and a Web API that locally in IIS Express, automatically calls my custom identity server when user navigates to a specific web page, firing the OnRedirectToIdentityProvider ...
0
votes
0
answers
134
views
Is it possible to make .NET 4.8.1 support HTTP/2 using OWIN?
I want to enable HTTP/2 protocol with OWIN in ASP.NET webforms project. I have created a simple webforms project and added OWIN Startup class to this project like this:
[assembly: OwinStartup(typeof(...