Questions tagged [duende]

29 questions
4
votes
1 answer

How to read clients and other configs from database in Duende/Identity Server?

I have a question about Duende/Identity Sever authentication. I have been using config.cs for storing clients and other configurations. Today, I migrated them to the Identity server database. Now, I want to get rid of Config.cs and read configs…
golrokh ka
  • 41
  • 3
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
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…
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

How to add Duende Clients for m2m communication with default ASP.NET Core with Angular template and request token from C#

In a project that was started with the template from Visual Studio ASP.NET Core with Angular with the newest version of the template, a new requirement has surfaced to communicate with a Windows Service. Everything works fine in the web project. The…
Andrei Dobrin
  • 1,164
  • 4
  • 19
  • 35
2
votes
1 answer

Is there a way to add metadata to all GET endpoints in ASP.NET Core?

In the following statement, the AsBffApiEndpoint() adds an attribute to all endpoints. Then there is a middleware specifically looking for that attribute and if present will check for an antiforgery header to be…
dotnetspark
  • 551
  • 4
  • 23
1
vote
1 answer

asp.net core with react redirection issues bff pattern

I'm trying to understand how the routing should work from the frontend to the backend. I'm using the duende.bff package in asp.net core 7 and have this setup according to the documentation and this tutorial:…
1
vote
1 answer

Can you host IdentityServer and BFF on the same project

The default Asp.Net Core templates allow you to deploy Duende IdentityServer for individual accounts authentication. Specifically for Blazor Wasm hosted solutions, the default templates will add IdentityServer to the server hosted project and the…
1
vote
1 answer

Can't seem to get setupProxy.js working with Duende ASP.NET Core BFF and TypeScript React project

I can't seem to get the proxying to work for local development when trying to set up a Duende BFF with ASP.NET Core 6 and a TypeScript version of create react app. Here's the repo I've been working in:…
Erik Dahl
  • 478
  • 5
  • 12
0
votes
0 answers

Duende.BFF doesn't bring bff specific management data

I followed the procedure in: Building Blazor WASM client applications in Duende Software as the documentation exposes, in Session Management Endpoints I am supposed to receive these items: bff:session_expires_in bff:session_state bff:logout_url but…
0
votes
0 answers

Issue with YARP and Kubernetes Deployment: BFF Application unable to redirect to Identity Server login page via Reverse Proxy

I have set up an Identity Server and BFF (Backend for Frontend) application within the same Kubernetes pod, utilizing multiple containers. The problem I am facing is that when I access the "bff/login" endpoint, the BFF application should redirect me…
0
votes
0 answers

Dynamic identity provider in identity Server

I'm using identity server in order to have a dynamic identity provider so i add .AddIdentityProviderStore() this line in order to reach my goal but with this line in login page i get all the identity providers registred in the database but when i…
xxxyyy
  • 9
  • 3
0
votes
0 answers

RBAC in ASP.NET using Identity system

I am using ASP.NET Identity with Identity Server to build an authentication system, and I want to assign each role a set of permissions. However, I am confused about how to store these permissions correctly. I try to store them as claims for the…
0
votes
0 answers

persistedGrant in identity server 4

im using identity server 4 with asp .net identity and i want to display all the authorized applications for each user user for example : user A : app1 app3 user B : app1 user C : app2 so in order to reach this i try to inject the…
0
votes
0 answers

How do I secure my ASP.NET Core Web API backend?

Trying to develop a backend for a project of mine and I'd like to implement some sort of authorization to be sure that only my ionic client calls the api backend and a safe way for users to login and signin. I've tried with some "prebuilt" solution…
1
2