Skip to main content

All Questions

0 votes
1 answer
40 views

Error with Identity Server and Client App

I'm following along with the steps described here: https://hts.readthedocs.io/en/latest/quickstarts/3_interactive_login.html and getting the following error in the mvc client: 2024-07-05 14:38:57.607 -...
Matt Perejda's user avatar
1 vote
0 answers
41 views

ASP.NET Core 5 Identity reset password token is randomly invalid

Using IdentityServer4 + ASP.NET Core Identity with .NET 5. Our password reset endpoint throws errors, however, if I re-send the request a few times (the exact same request), it works again. Here's a ...
Tabris's user avatar
  • 47
0 votes
1 answer
47 views

Token Request Failing and Returning error invalid grant

These are the IdentityServer logs: 2024-07-04 21:06:57.551 -04:00 [DBG] Start key discovery request 2024-07-04 21:06:57.552 -04:00 [INF] Request finished HTTP/1.1 GET https://localhost:44322/.well-...
Matt Perejda's user avatar
0 votes
0 answers
96 views

Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException while ASP.NET Core 8.0 MVC app trying to connect with IdentityServer4 App in IIS

We are migrating our projects from .NET 6.0 to .NET 8.0, where I am getting this error. We have one ASP.NET Core MVC application which is trying to connect to the IdentityServer4 application for ...
Naresh Parmar's user avatar
0 votes
0 answers
57 views

InvalidOperationException: No authenticationScheme was specified in ASP.NET Core with IdentityServer4

I'm encountering an InvalidOperationException in my ASP.NET Core application when integrating with IdentityServer4. In local everything works fine but when I replace my old projects (Client + Auth) I ...
MrBigboka's user avatar
  • 449
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
1 vote
0 answers
40 views

How to deploy Duende Identity Framework in an existing application

So far I only saw docs about deploying Duende IDP as a dedicated Application. How can we deploy in an existing Application, so that: ISSUER will be something like https://localhost:5001/idp The UI ...
acmoune's user avatar
  • 3,331
0 votes
0 answers
28 views

Using identity server 4 , how can I retrieve connect/token data from the conect/token endpoint from a controller and manually pass that back?

I'm currently working with an Angular SPA app. I'm successfully signing in externally with google, and retrieving the data from the callback from google. From here I: Look up the user If the user ...
Tekonline's user avatar
  • 113
0 votes
1 answer
137 views

Duende Identity Server Internal API Authorization

I am using IdentityServer 7 with Asp.Net Identity in the same application. How can I possibly keep the RazorPages and "cookies" authenitication handler that is registered with the Duende ...
JasperDaDolphin's user avatar
0 votes
0 answers
55 views

Login with twitter using identity server is not working when using openidconnect

I'm attempting to integrate Twitter login functionality into my application using Identity Server. I've utilized AddOpenIdConnect for this purpose. Below is the code snippet I've employed: ...
Hemanth Reddy's user avatar
0 votes
0 answers
43 views

Call Databricks Api from IdentityServer4 client

I am using IdentityServer4 with Microsoft Entra Id as my external login provider. I want to access Databricks api via IdentityServer4. I have registered IdentityServer4 in Entra and configured ...
Hemanath's user avatar
0 votes
0 answers
327 views

Getting "A fatal error occurred while creating a TLS client credential. The internal error state is 10011" running IdentityServer4 in Production mode

My ASP.NET Core 6 Web API uses IdentityServer4 as idp. It works just fine when the idp runs in development mode. When I set the idp to run in Production mode by setting the ASPNETCORE_ENVIRONMENT in ...
Alexu's user avatar
  • 1,145
0 votes
0 answers
56 views

How to override application scopes with rolebased scopes from access token in identity server 4?

1.Trying to implement role-based access control (RBAC) to replace existing scopes with role-based scopes in access tokens. 2.The application currently uses scopes "openid", "...
Gouthami Shivakoti's user avatar
0 votes
0 answers
227 views

Identity server redirection not working after token expired and getting 302 found

We have SPA with the IDS 4 and its does not redirect to the login screen post token expires. Getting below response as blank screen as it does not redirecting to identity server urls. enter image ...
vishal's user avatar
  • 1
0 votes
1 answer
154 views

Identity Server: Refresh Token for the currently Authenticated User

Authentication configuration: services.AddAuthentication(options => { options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; options.DefaultChallengeScheme = ...
KA-Yasso's user avatar
  • 273
1 vote
0 answers
61 views

How to switch Authenticate Scheme at runtime based on request header

I'm trying to change an existing web API to allow switching between IdentityServer and JWT based authentication. Both forms of authentication work on their own when set to be the ...
Chris Gilbert'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
1 answer
67 views

IdentityServer4: Invalidate or sign out of the cookie identity as part of Authorization cycle

I have a website that is authenticated by an external instance of IS4. I am adding the ability to sign in via a authentication code, this code is passed in via an ACR value. It works, but for ...
Marlon's user avatar
  • 2,129
1 vote
2 answers
171 views

Identity Server4 - Correlation failed

My problem appeared when I updated the environment to .NET 8, before everything worked (for .NET 6) Error page error page Client configuration JwtSecurityTokenHandler.DefaultMapInboundClaims = false; ...
Sebastian's user avatar
0 votes
0 answers
50 views

How to authenticate Node.js api and web socket connections with identity server 4

`HI, I have an use case to send the push notifications to web app through node js api application. How to authenticate Node.js api and web socket connections with identity server 4.(OpenID) io.use(...
ramu yepuganti'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
0 votes
0 answers
67 views

Identity Server 4 Auth Grpc with Bearer Token

please help me. I have the IdentityCenter app, in which I configured IS4. builder.Services .AddIdentityServer() .AddAspNetIdentity<User>() ....
Stiven Diplet's user avatar
0 votes
0 answers
32 views

Not able to parse JavaScript in Identity Server 4 .Net CORE 3.1 MVC - Uncaught SyntaxError: Invalid or unexpected token

I have a .Net Core MVC Application for Identity Server 4. Inside of the Login.cshtml file I have a script tag surrounding 37k lines of a compiled function from a React application. I am trying to ...
userlkjsflkdsvm's user avatar
0 votes
0 answers
43 views

Does Microsoft.AspNetCore.Authentication.MicrosoftAccount validate claims to mitigate N0Auth?

When using the Nuget package "Microsoft.AspNetCore.Authentication.MicrosoftAccount" (https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.MicrosoftAccount/), does this follow ...
cowlinb6's user avatar
0 votes
0 answers
237 views

Communication between two Docker containers failing due to SSL Certificate

I have two asp web api, one for identity server and second for just web api. They are supposed to be run on docker containers. I generated a self-signed certificate for SSL https connections between ...
west's user avatar
  • 364
0 votes
1 answer
98 views

Access_Tokens and Refresh_Tokens are generated even after expiry in IdentitiyServer4

We have a .NET Core application which uses IdentityServer4 for authentication and authorization. We are using azure active directory as IdentityProvider. We are using Redis for Caching. Access_token ...
Sandeep Manchukonda's user avatar
0 votes
0 answers
44 views

Creating User With IdentityServer4 in ASP.NET Core Chat app

I have a project which is my IdentityServer4 Authority with separate database. It handles sing-(up,in,out) for user. Sign up requires providing some info (only matters that there are some, let it be ...
Xoka74's user avatar
  • 1
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
567 views

authorization via identity server and use of ocelot

There are 2 microservices, an ocelot gateway, a web client and an authorization server (https://github.com/skoruba/Duende.IdentityServer.Admin). I want to check authorization on the gateway. gateway ...
Evgeny's user avatar
  • 51
-1 votes
1 answer
73 views

how to implement custom tokencleanupservice in identity server4?

I kept code in my startup to clean expired tokens like below opts.EnableTokenCleanup = true; opts.TokenCleanupInterval = 3600; opts.TokenCleanupBatchSize = 100; But i ...
Gouthami Shivakoti's user avatar

15 30 50 per page
1
2 3 4 5
58