Questions tagged [duende-identity-server]

173 questions
10
votes
2 answers

Azure App Service .net6 Deploy - Error: EISDIR: illegal operation on a directory, open '/home/site/wwwroot/wwwroot/Identity/lib/bootstrap/LICENSE'

I updated my Asp.net core Blazor WebAssembly app to .net 6. Everything is fine, but the deploy from github actions doesn't work and throws this error: ... Copying file: 'Microsoft.AspNetCore.ApiAuthorization.IdentityServer.dll' Copying file:…
Alamakanambra
  • 5,845
  • 3
  • 36
  • 43
8
votes
1 answer

What would it be an alternative for identity server 4?

Identity server 4 will not longer be maintained after November 2022 so logically we want to move away from that. I was looking for alternatives but it seems there ain't much out there. We don't wanna go for Duende to avoid the license, same goes…
sebsmgzz
  • 361
  • 2
  • 11
5
votes
0 answers

Adding Redis Caching to Identity Server 6

I've upgraded an Identity Server based project from the original Identity Server 4, to Duende's Identity Server 6. The upgrade appears to have worked but I've had to remove some existing code in order to get it to work. This is the configuration we…
Stuart Frankish
  • 818
  • 1
  • 11
  • 27
5
votes
3 answers

The default Identity UI layout requires a partial view '_LoginPartial' error ASP.NET Core 6.0

So. I created a fresh new project with Visual Studio Pro 2019 (v16.11.9) using the model ASP.NET Core with Angular. I set the authentication option to Individual User Accounts. I got a working scaffolded project with Angular 8, ASP.NET Core 3.1…
5
votes
1 answer

How to inject services in an AddOpenIdConnect event (OnTokenValidated)?

I need to write and business logic which requires ConfigureServices to get fully executed. OnTokenValidated is badly located with-in ConfigureServices itself. What is the alternative of AddOpenIdConnect middleware so that I can Success call with…
Abhijeet
  • 13,562
  • 26
  • 94
  • 175
4
votes
2 answers

ASP.NET Core 6 React app with Individual accounts using SQLite 401 Unauthorized error

I've created a DEFAULT ASP.NET Core 6 React app with Individual Accounts enabled and SQLite as the default database: dotnet new react -au Individual -o core-react-sqlite But then when I run the app, register a new user, confirm the user, login,…
PussInBoots
  • 11,028
  • 9
  • 52
  • 84
4
votes
1 answer

Can we take IdentityServer4 source code from github and upgrade it to Net 6.0 and use it?

IdentityServer4 is open source version supporting .Net Core 3.1 and I got to know that next version is not open source and requires a license. We need to use IdentityServer in a .Net 6 project. Can we take IdentityServer4 source code from github and…
3
votes
0 answers

Duende Identity server - Get PostLogoutRedirectUri after logging out through my client app

I am building an Identity server with the Duende Identity server software package. The IdentityServer is .Net 6, and the client application is ASP.NET 4.6.2, which could complicate things. In my Client app I have the following configuration: ` …
3
votes
1 answer

getting System.ObjectDisposedException: Cannot access a disposed object. Object name: 'RSA'. while using manual key management in identity server 6

I'm getting this error returning from api "Cannot access a disposed object. Object name: 'RSA'" while i'm trying to use manual keymanagement for duende identity 6. When i try to create RSA parameter from code it does work but it doesn't work with…
3
votes
0 answers

What is the Key property of IdentityServer in AppSettings.Json

I followed this tutorial from microsoft to secure a dotnet SPA with Duende Identity Server. According to the tutorial, I should configure the "Key" section of "IdentityServer" in AppSettings.json in order to sign the tokens. For development you use…
3
votes
0 answers

Dotnet core 6 starter app with angular and identity shows certificate error when deployed to Azure App Service

I used the starter application in visual studio for dotnet core 6 and angular with identity and https. I am working on a mac and I had to set up a certificate for localhost. My app works fine locally. However, after deploying it to Azure App…
3
votes
1 answer

Use Azure Active Directory as an external login for Identity Server

I have a .NET 6 web application which uses IdentityServer for logins. I want to extend that functionality and use Azure Active Directory (AAD) as an external login. I have the following code in my Program.cs which registers AAD as an external…
2
votes
1 answer

.Net Core 7 Identity Server 6 JWT Auth Bearer Token invalid after server restarts

This should be so simple, but I'm pulling my hair out trying to figure out why this wont work. I'm at the point where I am considering abandoning Duende Identity Server and moving to something else like Auth0. I have Identity server working…
Aaron
  • 282
  • 1
  • 4
  • 11
2
votes
0 answers

Duende IdentityServer 6.1.6 - Not able to Single Signout between implicit vs authorization_code grant type

Please help us on below issues- We are not able to perform Sigle Signout between our apps - Angular 13 application (implicit flow) [angular-oauth2-oidc package] Dot Net Framework Asp.Net MVC application (authorization_code) [Frontend Channel Logout…
2
votes
0 answers

runnig duende identity server in docker

I have microservice application in .Net 6 and I containerize all of the services and run them in https (localhost) . but the problem is Taht the other services can not find the identity server . and all of the container is up and running . and I…
1
2 3
11 12