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
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
2 votes
0 answers
622 views

Protect API using IdentityServer

I've started using IdentityServer4, using the ASP.NET Identity and Entity Framework sample. There is an MVC application, which uses IdentityServer to get an access token, using 'client credentials ...
Andy's user avatar
  • 2,997
1 vote
1 answer
2k views

.net core 2.0 & Identityserver4 : Cookie Not getting expired after logout

I am using identityserver4 for all configured clients with "AccesssTokenType=1" i.e. reference type. I have one web app hosted for server, and other one for clients. I used default identityserver ...
Agni's user avatar
  • 428
6 votes
3 answers
3k views

Custom Claims are not being accessed in client with identityserver 4 .Net core 2.0

I have following in my client startup.cs. services.AddAuthentication(options => { options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; ...
Anonymous Creator's user avatar
0 votes
0 answers
112 views

ValidateAntiForgeryToken breaks read on .NET Core with IdentityServer4

I am doing a basic read and write functionality to a IdentityServer4 application using .NET Core 2.0 and have come across an issue. When trying to load clients the ValidateAntiForgeryToken attribute ...
JSON's user avatar
  • 1,163
5 votes
1 answer
6k views

Support multiple AuthenticationSchemes of same type

Im workign with IdentityServer4 and trying to add multiple external providers of same type, OpenIdConnect in my case. However I'm running into some issues. services.AddAuthentication() // Azure AD ....
Eugene S.'s user avatar
  • 3,265