Questions tagged [duende-identity-server]
173 questions
2
votes
2 answers
Duende Identity Server : How to return external provider tokens also to the Angular/WPF/MVC client along with Duende tokens
I am using Duende Identity server and I have an external authentication provider lets say google. While logging into google we get tokens from google which we can make use of calling some google API's.
I need to return the google token also to the…

Kiran B
- 683
- 10
- 21
2
votes
0 answers
DuendeSoftware IdentityServer how to customize usage
We are using microservices in our application. For the authentication we are checking DuendeSoftware IdentityServer (.Net 6).
Could you please let me know if below requirements can be achieved?
Single login API
Use our own login model, only API…

Kathiravan
- 45
- 1
- 7
2
votes
1 answer
Blazor WebAssembly App with Individual Accounts and ASP.NET Core Hosted - Resource Owner Password Credentials grant - Does not get role claim
I have set up Resource Owner Password Credentials grant using the answer below:
https://stackoverflow.com/a/67324222/3850405
I have then followed this guide to set up name and role…

Ogglas
- 62,132
- 37
- 328
- 418
2
votes
1 answer
How to customize the cookie generator of identityserver? (add claims into token but not into cookies)
I am using the IdentityServer and I have a React client. so when I try to login into my client after checking credentials IDP generates some cookies in my browser. I read about these cookies (especially.AspNetCore.Identity.Application cookie) and…

Navid_pdp11
- 3,487
- 3
- 37
- 65
2
votes
1 answer
Error requesting access token for client default after upgrading to Duende Identity Server
After upgrading from IdentityServer4 (v2) to Duende Identity Server, I am getting this error when an app is trying to get a token to connect to an API:
error requesting access token for client default
There is no "Error" in the logs, but the token…

Jess
- 23,901
- 21
- 124
- 145
2
votes
1 answer
Multi tenant authentication using Duende
I want to set up a centralized identity server using Duende Identity Server which will authenticate multiple tenants (with separate databases). I have searched the internet and tried samples from git hub. None of them really helped. How can I…

trax
- 31
- 3
2
votes
1 answer
Using Identity Server 4 in a multi tenancy environment
OK, this is going to be quite a big and open question(s)
I want to extend Identity Server 4 and Microsoft Identity to be used for multi-tenancy applications.
This is what I've done so far...
Extended the Identity Role, in this example, I've added a…

Sun
- 4,458
- 14
- 66
- 108
2
votes
1 answer
Identity Server still including in-memory keys in discovery doc after providing custom implementation of ISigningCredentialStore
I'm working on an app that uses the IdentityServer6 library. Out of the box this seems to use a pair of in-memory signing keys which I can see in the jwks discovery doc when run locally.
I've now provided a custom implementation of…

Tom Troughton
- 3,941
- 2
- 37
- 77
2
votes
1 answer
Invalid redirect_uri in Duende Identity server 6
I am trying to use Identity Server 6 for authentication and authorization in my MVC project in .NET 6. I am also using Identity Server to restrict access to my APIs which talks to my MVC project.
When I start my solution, I start all 3 projects…

shubhkr1
- 94
- 2
- 15
2
votes
1 answer
Unable to resolve service for type 'Duende.IdentityServer.Stores.IClientStore'
I am migrating drom Identity Server to Duende Identity Server and using .net 6 core project and I'm getting the following error in the startup on builder.build().
InvalidOperationException: Unable to resolve service for type…

David Andrews
- 71
- 2
- 8
2
votes
1 answer
How to retrieve authentication properties in identity server challenge controller action?
I have an identity server configured which our Asp.Net Core website uses for authentication. When we issue a challenge in the website, it obviously gets picked up in the Challenge controller action in External Controller in ID server. If I add…

doogdeb
- 400
- 3
- 8
2
votes
1 answer
Duende BFF Yarn does not pass tokens when using gRpc Web Client from Blazor WebAssembly app
I am building a web application with ASP.NET Core 6.
I have:
Frontend.Client - a Blazor WebAssembly with the UI
Frontend.Server - ASP.NET Core, hosting the Blazor WebAssembly
Web Api - a remote REST Service
gRpc Service - a remote gRpc…

user2632796
- 51
- 5
2
votes
1 answer
Blazor WASM .NET-6 Role Authentication is not working for me
My project is in VS-2022 and using the TAGS below.
Can someone please explain what the code-snippet reference below means in the SERVER program.cs file? What is this snippet intended to "do"?
Specifically, what does the "name" and "role" refer to? …

John D
- 517
- 7
- 22
2
votes
1 answer
How can i have customized SPA login page in Identity Server (duende identityserver)
I'm looking for a way to have a customized SPA (react/angular) login page beside of my Duende Identity Server API (developed in ASP.NET 6.0)
I googled it all day and just i found this…

Ali Jafarabadi
- 21
- 3
1
vote
1 answer
Access Token From Cookies (Identity Server 6)
In this Project I have identity server(Asp.net core) ,Web application(.net Framework 4.8) and api (Asp.net Core)
api in get access token from cookie in identity server
in this web application i am get access token using this method so get access…

NamanGajjar
- 21
- 4