Questions tagged [duende-identity-server]

173 questions
0
votes
0 answers

Blazor WebAssembly with Duende authentication and multiple endpoints

Using a Blazor WebAssembly hosted with a server BFF, I get access from a API which is secured by tokens. I do however have two bff endpoints. One secured by user login and token request, and one that is not…
0
votes
0 answers

Duende Identity Server with Blazor WASM hosted and BFF over HTTP for local development

I am testing Duende Identity Server (v6) with a Blazor WASM (hosted) project, along with the BackEnd For FrontEnd (BFF) Duende also provides. With HTTPS everything works well. With HTTP I find several issues. Some are due to browser policies in…
0
votes
1 answer

Add custom claims to JWT in authorization code flow in OpenId connect and Duende Server (Identity Server)

On login, I am authenticated by Openid connect authorization flow. I get the access token and ID token. var result = await (_httpContextAccessor.HttpContext ?? throw new Exception("Call is not within a HttpRequest…
0
votes
1 answer

How to make the "issuer" the same as domain name in Duende identity server?

There is a Duende identity server (IS) running on a VM, behind an Nginx server. Nginx listens to port 443 and redirects the requests to IS running at 8080. When https://example.com/.well-known/openid-configuration is visited, the issuer in the…
M. Azyoksul
  • 1,580
  • 2
  • 16
  • 43
0
votes
0 answers

Blazor WebAssembly PWA clears Identity cookie on logout when debugging but not when published

I have a Blazor WebAssembly PWA application. When I debug the application in Visual Studio, I can log in as a user and log out successfully. Once I publish the application, listening on http://localhost:5000, I can successfully log in as a user, but…
0
votes
0 answers

PostAuthenticateAsync in Duende IdentityServer6

We have a project that is using IDP version 3. We are trying to upgrade it to Duende IDP6. There are some services missing in IDP6. e.g.: IUserService ITokenService ILocalization We do have some class that is inherited from IUserService and override…
0
votes
1 answer

Dependency injection on OpenIdConnect Events

I've got an Dot.Net 7 Blazor WASM app running with Duende configured for authentication. I've also got an Orleans silo running in the server side and I wish to deactivate a grain when the user logs out. I can wire up to the logged out event using…
ADringer
  • 2,614
  • 36
  • 63
0
votes
2 answers

How to Retrieve id_token for End Session Endpoint in Duende IdentityServer v6.2.3 and Asp.Net Core 6.0 MVC?

I have a Asp.Net Core 6.0 MVC app, which authenticates with our Duende IdentityServer (v6.2.3). When I want to logout of identityserver, it states that you must call the end session endpoint. One of the params is id_token, which is needed so it can…
0
votes
1 answer

Unable to authorize by BFF in Blazor WebAssembly with Duende.IdentityServer in HTTP scheme, not HTTPS

I have two sample projects, one for Duende Identity Server and another for Blazor WebAssembly project, they are both writen by .NET 7 and we are using latest release of Duende Identity server with BFF(Backend For Frontend) protocol. The…
0
votes
1 answer

How to add custom claim to a token in Duende under Client Credential flow?

Currently, I'm using a working Client Credential Flow. I'd like to extend the behavior of the IDP and add a claim besides the ones distributed automatically based on the client. Checking the docs for Client Credential Flow, didn't give me much. What…
0
votes
1 answer

IdentityServer - Configuring ApiResources

So I was following the quick starts from the latest IdentityServer/Duende official resources. From what I understood, An Api Resource is essentially logical grouping of apiscopes and identityscopes. You can Have 3 ApiScopes "apiscope1",…
Style
  • 67
  • 9
0
votes
0 answers

Blazor WebAssembly Error: There was an error trying to log you in: 'No authority or metadataUrl configured on settings'

I've already looked at this similar .NET 6 issue but none of the suggest options help: "There was an error trying to log you in: '' " Blazor WebAssembly using IdentiyServer Authentication My issue is similar. I'm trying to simply port the…
ssmith
  • 8,092
  • 6
  • 52
  • 93
0
votes
0 answers

How to make a identity server 6 client for a Xamarin forms shell application with login and registration

Hi I am creating an app with a registration and login system which stores the user credentials in a Postgres database and the profile photos in an Minio objects storage system. I have created an API to abstract away the database stuff from the user…
0
votes
0 answers

Create duende identity server and swagger API in same project

I am using duende template for creating customized identity server, and there I need some Apis and I have implemented those in the same project My Apis should be authenticated via same identity sever with a bearer token. it was working as expected…
0
votes
0 answers

Returning invalid client id response from swagger api authorize when it's connected with duende identity server

I have created a sample duende identity server and I want to authorize my swagger apis from that I have used this in my program.cs When I try to authorize it allows me to enter username and password and then it's redirect to swagger UI with saying…