Skip to main content

All Questions

0 votes
1 answer
314 views

.NET 5 Unable to unprotect the message.State when trying the sign-in callback

We are running an Azure app service (linux) which is used for authentication and authorization. It is using Microsoft Identity to use Azure AD authentication, so we are using Azure ad oidc. Couple of ...
doe.doe's user avatar
0 votes
2 answers
235 views

Wildcards support for AllowedCorsOrigins in IdentityServer4

I use IdentityServer4 to login to my app using authorization_code flow. I need to add support of wildcards for AllowedCorsOrigins in IdentityServer4 client configuration. I created my implementation ...
ant's user avatar
  • 1,127
0 votes
0 answers
43 views

Creating Access Tokens with Username for External Login Providers in Identity Server 4 and Identity.Admin.Api

I'm working on a mobile app that consumes an API, which I'll refer to as the "Main API." I'm securing the Main API using Identity Server 4. Additionally, I need authentication within the ...
Son Goku's user avatar
0 votes
0 answers
89 views

How can I persist id_token to use during sign out?

I'm using Okta, .NET 6 and Identity Server 4 (in the middle of convincing the upper management to upgrade from 4.0 to 6.0). I need the id_token in order to log out from Okta, however it's always null. ...
David Klempfner's user avatar
1 vote
0 answers
34 views

What is the difference between Identity object in Request/Response and Principal?

I'm using .NET 6 and Identity Server 4. What is the difference between these three Identities (this is a class derived from OpenIdConnectEvents)? Why are there claims in the principalIdentity but not ...
David Klempfner's user avatar
2 votes
0 answers
76 views

What should I set for OpenIdConnectOptions.SignOutScheme?

I'm using .NET 6 and Identity Server 4. What should I set for OpenIdConnectOptions.SignOutScheme? This is what I have in Startup.ConfigureServices(): .AddOpenIdConnect("oidc", "...
David Klempfner's user avatar
0 votes
0 answers
153 views

Dynamic identity provider in identity Server

I'm using identity server in order to have a dynamic identity provider so i add .AddIdentityProviderStore() this line in order to reach my goal but with this line in login page i get all the identity ...
xxxyyy's user avatar
  • 29
0 votes
0 answers
117 views

Client authentication in identity server

I'm developing an authentication system in which i can create clients the client is an application with possible types (m2m native regular web app or single page application) in the m2m application i ...
xxxyyy's user avatar
  • 29
0 votes
2 answers
48 views

IdentityServer4 in NetCore, tokens lost on restart

I am facing an issue with IdentityServer4. Whenever I restart the server, the tokens get deleted from memory and the users have to re-identify themselves. I need these tokens to persist and not get ...
MANUEL SOLER PUERTO's user avatar
0 votes
1 answer
21 views

Inject custom claims from client after login using identity server 4

We are using identity server 4 and consuming it using web application. We are able to successfully login and add some extra claims from the ID4 server using profile service but we want add some more ...
Gopi's user avatar
  • 102
0 votes
1 answer
384 views

Login with QRCode in Identity Server 4

I have the identity server 4(skurba) I want to login a user with QrCode like whatsapp application. In the other words the user is login in web application and want to scan Qrcode by their phone to ...
mahdi's user avatar
  • 117
0 votes
1 answer
706 views

IdentityServer4 Admin API always return 403 Forbidden

I have IdentityServer4 running at https://localhost:44311/. I am building a custom User Interface using IdentityServer4 Admin APIs. I wrote a small program to test if I could correctly call Admin API ...
Syed Rafey Husain's user avatar
0 votes
1 answer
57 views

IdentityServer4 sometimes returns 500 for google and microsoft authentication

Sometimes google and microsoft authentication returns 500 on IdentityServer4. Specifically, /signin-google and /signin-microsoft are returning 500 errors, and the situation is as follows ・About 3,000 ...
長谷竜弥's user avatar
0 votes
1 answer
602 views

IdentityServer4 always return 401 Unauthorized or 403 Forbidden

I am new to IdentityServer4. I have created a IdentityServer4 client, a scope at the IdentityServer4 running at https://localhost:44311/. I secured a sample Weather API using IdentityServer4. When I ...
Syed Rafey Husain's user avatar
1 vote
0 answers
567 views

No service for type 'Duende.IdentityServer.Stores.ISigningCredentialStore' has been registered

I'm trying to get Identity running locally in an API. Here is my program.cs var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers(); // ...
Code Ratchet's user avatar
  • 5,919

15 30 50 per page
1
2 3 4 5
7