Skip to main content

All Questions

1 vote
1 answer
4k views

How to logout ClaimsIdentity User when using OpenIDConnect

I have ASP.NET Core application that is using OpenIDConnect authentication. In OnTokenValidated event i check if Authenticated user exists in the my application's database, and if not then i am ...
LP13's user avatar
  • 33.1k
1 vote
0 answers
702 views

Intermittent "The operation timed out" error on production server

I have a web API(service) whose target framework is .net core 2.0. This service is calling a custom identity server 4 endpoint using HttpClient by using the 'using' statement. This call always works ...
Purnima Naik's user avatar
  • 2,603
0 votes
2 answers
2k views

IdentityServer - How to bypass authorization for simple debug

I have several .NET core API and I use IdentityServer 4 as a seperate service for authentication. The problem is that in "debug" I also wish to run my API without authentication (without launching ...
ClubberLang's user avatar
  • 1,816
2 votes
2 answers
3k views

How to get ASP.NET Identity authentication ticket expiry in Razor Page?

I'm using identityserver4 with ASP.NET Identity, with a cookie configured with SlidingExpiration = true and ExpireTimeSpan = 20 minutes. I would like to provide the user with a warning when they are ...
Rob's user avatar
  • 1,263
2 votes
1 answer
1k views

How can I safely implement idle timeout when using identityserver4 and aspnet identity?

I'm working on an identityserver4 login site (server UI) with .NET Identity in .NET Core 2.2 Razor Pages, I have a javascript modal alert that warns users of a pending idle timeout, and then when ...
Rob's user avatar
  • 1,263
1 vote
1 answer
1k views

Validating access_token when identityserver goes offline

I have setup IdentityServer4. As I understand it, my webapi that needs protection, gets the public key from IdentityServer4 and uses this key to validate the signature key of the JWT. I can't seem to ...
mslot's user avatar
  • 5,176
1 vote
1 answer
73 views

SAML handler instantiated on non-SAML authentication requests

I am using the Sustainsys SAML library along with IdentityServer4 for Okta authentication, and have a working setup. However, I notice that the Saml2Handler is being instantiated for non-SAML ...
Paul Taylor's user avatar
1 vote
0 answers
561 views

Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException: Error -4077 ECONNRESET connection reset by peer

I am using IdentityServer 4 with dot-net-core-2.0 with Sql server DB. Getting this exception randomly once a week due to which CPU utilization goes to 100%. Can someone please help me out. Thanks ...
Muhammad Tauseen's user avatar
0 votes
1 answer
86 views

IdentityServer4 don't shows permissions checkbox

after login in IdentityServer4 i can't see permisions checkbox and redirection after clicking allow button doesn't work. So i can see Personal Information title and Application Access title and no ...
Jakubbb's user avatar
  • 31
0 votes
1 answer
31 views

How to Disable : Authorise attribute automatically login the user

I'm having an issue with identity server. When unauthenticated If I try to access an action that has the authorize attribute I am taken to the login page to login(as expected) After I logout then ...
David's user avatar
  • 5,481
2 votes
2 answers
7k views

IdentityServer4 AddSigningCredentials with Certificate

I have an SSL certificate installed on my domain and I wanted to use it for signing with IdentityServer 4. Now I found that there is a method which would let me do that: services.AddIdentityServer()....
Bagzli's user avatar
  • 6,451
0 votes
0 answers
220 views

IdentityServer get time taken to verify client

We want to create a secure API, hence we are using IdentityServer to verify our clients. Here's a snapshot of our code where we setup authentication services.AddAuthentication("Bearer") ....
Anirudh Bagri's user avatar
2 votes
4 answers
4k views

Self hosted ASp.net core 2.2 app, The view 'Index' was not found. The following locations were searched

I am creating ASP.NET Core web application and hosting it via console. I am using IdentitySvr4 Quick Start UI and getting all the files to my project. Now when I start the server by running console ...
Simsons's user avatar
  • 12.6k
1 vote
1 answer
2k views

Function to request user claims and token from Identity Server?

What is the best way to retrieve user claims and tokens after logging into identity server? I have a .Net Core MVC web app. I redirect to an identity server, log in, then redirect back to my web app. ...
André Foote's user avatar
0 votes
1 answer
111 views

Identity server 4 and api application

I am now working a application . First I create a solution , inside this solution create api , identity server 4 app and web application . My question is user table can share both api and identity ...
tapos ghosh's user avatar
  • 2,154

15 30 50 per page
1
2 3 4 5
10