Skip to main content

All Questions

0 votes
1 answer
58 views

How can run the IdentityServer for Macos?

I am developing a project, it is requested to use IdentityServer4. I install the project but I can't run it because it doesn't support .net 3.1 on Macos operating system. I did some research, I found ...
levent41's user avatar
0 votes
1 answer
259 views

How can I use IdentityServer AND a completely separate .NET 6+ JWT authentication system side by side with a view to phasing out IdentityServer?

My Mobile API is currently using IdentityServer and for various reasons I need to replace it with something far simpler such as JWTs. I have a service with some very basic JWT issuing and validating ...
Chris Gilbert's user avatar
0 votes
0 answers
78 views

ASP.NET Core IdentityServer4 in Production **Workflow**

I'm new to IdentityServer4(just implemented on development environment) and I'm a little bit lost with all the configuration required for a real world/production deployment So far, I have made my own ...
Matheus Rodrigues's user avatar
3 votes
2 answers
2k views

Role Claim not working in ASP.NET Core 8 Web API after upgrading to .NET 8

I have a .NET 7 ASP.NET Core 7.0 Web API project which uses .NET 7 ASP.NET Core 7.0 IdentityServer4 Project. Everything is working fine. Here is my code setup: IdentityServer4: In my ProfileService in ...
fingers10's user avatar
  • 7,649
1 vote
1 answer
138 views

How to combine Identity.Application and JWT authentication using IdentityServer4?

How to configure IdentityServer4 and authentication to use both Identity.Application (for IdentityServer4 endpoints) and JWT (for API requests)? Trying to implement ASP.NET 6 application, that ...
Vlad Barkovsky's user avatar
0 votes
0 answers
119 views

Apple sign in with identity server 4 asp.net callback returns error 302 not found

I am implementing apple sign in with my identity server 4 in asp.net 6, the flow works and I get id token from apple with the user information, when it makes a post request to the callback path in my ...
Omar A. Lebda's user avatar
1 vote
0 answers
117 views

How to use Identity Server 4 for authentication and authorization in a .NET microservices project?

I am building a microservice project that includes only the backend part and I am going to prepare apis for the front-end team. The project includes several systems, and our goal is to authenticate ...
mehdi's user avatar
  • 25
0 votes
1 answer
421 views

How to get access_token for integration tests for passing [Authorize] tag? ASP.NET WebAPI

I have a WebAPI on ASP.NET and IdentityServer4 project for authorization, registration and all of this stuff. So, right now i creating integration tests for this API and i cant reach API methods that ...
JoZzzward's user avatar
0 votes
1 answer
48 views

Identity Server and custom user class

I am using Identity Server 4 with a Blazor WASM App and a WebApi Serverside I use HttpContextAccessor to retrieve information about the logged in user. HttpContext.User.Identity returns a ...
Jens Mander's user avatar
0 votes
1 answer
256 views

Restrict the exposure of the discovery jwks key in a web browser/ UI

Need to restrict the exposure of the discovery jwks key in a web browser/ UI. The is the request from the security team to prevent the exposure in jwks url . .well-known/openid-configuration/jwks im ...
Rosario's user avatar
1 vote
1 answer
257 views

How to add more than one IdentityServer4 Authentication in my project

I added into my project IdentityServer4 and create my implementation of IExtensionGrantValidator. Also we have another project which can issue tokens which can be valid for our service. There is a ...
Aleksandr Tkachenko's user avatar
0 votes
1 answer
130 views

IdentityServer4 require consent true requires API resource scope name to match audience name

I have an API resource in IdentityServer4: { "Name": "usersservice", "DisplayName": "Users Service", "Scopes": [ { &...
ScubaSteve's user avatar
  • 8,134
0 votes
1 answer
2k views

C# Web API with Scope Specific Routes

I am utilizing IdentityServer4 as the identity provider and my C# Web API (for Users) is protected via: services.AddAuthentication(Authentication.Bearer) .AddJwtBearer(Authentication.Bearer, options ...
ScubaSteve's user avatar
  • 8,134
2 votes
1 answer
3k views

ASP.NET Core authentication/authorization with external OpenID Connect provider

I'm learning authentication/authorization in ASP.NET Core and got confused by which components I should use in my scenario: I have an SPA frontend and an ASP.NET Core API backend. I'm using a third-...
Zizheng Tai's user avatar
  • 6,470
0 votes
0 answers
95 views

ASP.NET Web API work cors with identity server 4

I try to connect the ASP.NET Web API (not .NET Core) with identity server. I use owin as startup but I get a cors error. Why does cors app.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll); not work ...
John Maher's user avatar

15 30 50 per page
1
2 3 4 5
10