Questions tagged [duende-identity-server]

173 questions
1
vote
1 answer

How to run Cypress end to end test with IdentityServer's Authorization Code Flow and BFF

I have: Duende IdentityServer Asp.Net Web App (Using BFF Framework) I would like to run a Cypress end to end test on the web app, which is protected by a login page using an Authorization Code Flow via my IdentityServer. My understanding is that…
1
vote
1 answer

Duende.IdentityServer from Blazor WebAssembly App protecting ASP.NET Core API using Client Credentials with custom allowed scope - invalid_scope

I have a Blazor WebAssembly App created with Microsoft Visual Studio with these specifications: Target Framework .NET 6.0, Authentication Type Individual Accounts and ASP.NET Core Hosted: Using this answer I have been able to add Client Credentials…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
1
vote
1 answer

How to issue some user claims depending on the client?

I would like to be able to issue a phone_number claim xor email claim depending on what is required by the client. I use Identity Server 5(Duende) but the answer will be the same for Identity Server 4. I understand that I can add a claim to identity…
Yoda
  • 17,363
  • 67
  • 204
  • 344
1
vote
0 answers

How to migrate from IdentityServer3 to Duende IdentityServer6?

I have an IdentityServer3 used by multiple applications. The clients, scopes, flows, urls etc., of the IdentityServer3 are persisted in an MS SQL Server. I want to upgrade the IdentityServer3 to Duende IdentityServer6 as the support for the former…
MAK
  • 1,915
  • 4
  • 20
  • 44
1
vote
2 answers

Problem with ConfigurationStoreOptions while upgrading to Duende IdentityServer 6.0

I have some integration tests that use a real database targetting a ConfigurationDbContext. When upgrading to Duende IdentityServer 6.0, the constructor for ConfigurationDbContext breaks (only accepts 1 arg instead of 2) because of the DbContext…
Jess
  • 23,901
  • 21
  • 124
  • 145
1
vote
1 answer

Using Duende Identity Server and RSK SAML Identity Provider Store

We are upgrading our existing Identity Server solution form ID4 to Duende Identity Server with .net 6.0 We also use RSK's SAML plugin for Duende Identity Server. Right now I'm trying to create our own SAML Identity Provider store, instead of the In…
1
vote
0 answers

Duende IdentityServer 5.0 - Sign in user after SAML Authentication (from Users IDP)

We have : Our own IDP --> Duende Identity Server (5.0) MVC Client that users log into after they are authenticated by our IDP (above) External Client that wants to have SSO to our MVC Client so will send is a SAML Assertion (IDP initiated SAML ) we…
1
vote
0 answers

Duende Identity server(v6) to Identity server5

We have our old Identity server5 which is used for our website for Authentication purposes. We are building another Duende Identity server for our new Mobile App(Angular). Can we call our Old Identity server from our new one using PKCE flow?
John
  • 21
  • 3
1
vote
1 answer

IDP initiated SAML flow with ITfoxtec

I am setting up an IDP initiated SAML authentication flow One of our clients will send an SAML assertion request to us by clicking a link within their internal system to access our application - so we act as the service Provider (we use Identity…
1
vote
1 answer

Add multiple external oidc provides to Duende Identity Server

I passed through the tutorial: https://docs.duendesoftware.com/identityserver/v6/quickstarts/2_interactive/ And in adittional I tried to add another instance of the Identity Server as another external Identity Provider. After this it just stops…
1
vote
1 answer

Claims is empty and user is not Authenticated in HandleRequirement of AuthorizationHandlerContext with Duende identity server

I am using Asp.net core 6 with Duenda Identity server Program.cs var builder = WebApplication.CreateBuilder(args); ConfigurationManager serviceConfiguration =…
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
1
vote
2 answers

Example of a .Net6 Blazor WebAssembly application with authentication using local Sql Db?

I'm trying to add authentication (with registration, password reset etc) to a .Net6 Blazor WebAssembly project. When creating the project include authentication for individual accounts (to local sql db), configure for HTTPS, Asp.Net Core hosted and…
1
vote
1 answer

IHttpContextAccessor.HttpContext is null after execution falls out of the UseODataBatching middleware and causing NullReferenceExp in IdentityServer

I have a simple .NET6 OData API with the default configuration with Batch enabled. The API is configured with IdentityServer from the default VS template. Program.cs var builder = WebApplication.CreateBuilder(args); if…
HMZ
  • 2,949
  • 1
  • 19
  • 30
1
vote
1 answer

Add custom claim for token generation - Duende identity server

I am trying to configure my Duende (former known as identity server4) identity server for authentication and authorisation. For the authentication part, I am using an external authentication service and one of the things that I get as a result is a…
1
vote
1 answer

Does MSAL.js support the check_session_iframe OIDC endpoint?

I'm working on an SPA which depends on an instance of Identity Server for authenticating users. I need a solution that manages my tokens locally, but Duende (the owners of Identity Server) lean towards a Backend For Frontend (BFF) pattern over…