Category "openid-connect"

OpenIdConnectProtocolValidator - nonce error

I'm using OpenIdConnect authentication on my azure website (azure active directory, c#, MVC) and I'm randomly getting this error IDX10311: requireNonce is t

Blazor WebAssembly Hosted on IIS - only API is working

I have a project where I have developed a solution with Blazor WebAssembly Hosted model. I have a Server Project, a Client project and a Shared project (but I r

RFC - Adding Group Claims from OKTA to Role Claims in .net Framework Using OIDC

PROBLEM: The suggested method by Lee Brandt see: https://developer.okta.com/blog/2018/04/18/authorization-in-your-aspnet-mvc-4-application was not working due t

Web API with Microsoft Identity Platform Authentication

I created a new ASP.NET Core Web API with Authentication type "Microsoft identity platform" based on the VS2022 template. On Azure I setup the following with my

What are the default Lifetime values for openiddict tokens

Very simple question, i would just like to know what the default values are set in openiddict 3.0+ Tokens are AccessToken AuthorizationToken DeviceCodeToken Ide

ASP.NET Web API and OpenID Connect: how to get Access Token from Authorization Code

I try to get OpenID Connect running... A user of my Web API managed to get an Authorization Code of a OpenID Connect Provider. How am I supposed to pass this co

Change the preferred_username in token for client credential grant flow

I am using the Keycloak for one of our product. And we are using the client credentials grant flow to get the access token for service to service communication.

How do I validate a JWT using JwtSecurityTokenHandler and a JWKS endpoint?

I am prototyping the use of IdentityServer4 to secure several services, with the caveat that those services will likely not be migrated (in the forseeable futur

What is the best approach to logout from keycloak after authentication via pkce?

What is the proper way to logout? These are the keycloak client settings: Realm: REALM Client ID: pkce-client Client Protocol: openid-conne

No authentication handler is registered for the scheme 'Cookies'. The registered schemes are: Application, Bearer, ASOS

I am implementing Aspnet.security.openidconnect (ASOS) with .net core 2.1 application. Now the issue is when I am trying to execute this chunk in controller,