Questions tagged [duende-identity-server]

173 questions
1
vote
1 answer

Duende Server/IdentityFramework - AddJwtBearer Not showing all my custom claims but AddOpenIdConnect does?

I have followed the duende tutorials up until 5 (adding the identity framework). I have completed the tutorial (i.e. I have a razor client, a c# api, and an identity server application). I then went ahead and removed the favorite color, and added…
1
vote
0 answers

Duende IdentityServer EndSession showing prompts when it shouldn't

I've been tearing my hair out for a few days trying to call end end session endpoint with a redirect back to my site. I'm passing in id_token_hint, and post_logout_redirect_uri and it seems like these are being validated fine. My understanding it…
Leo
  • 11
  • 1
1
vote
0 answers

Azure APIM OAuth Integration with Duende Identity Server

I have found similar threads but nothing concrete regarding APIM OAuth integration with Duende Identity Server. We want APIM to function similar to Postman, where you set the authorization parameters (access token URL, clientId/clientSecret, scopes)…
1
vote
0 answers

Duende.IdentityServer crashes navigating to Register/Login Blazor WASM

I have a Blazor WASM (PWA) that's .NET 7. I was scaffolding the identity pages and customizing them (register, login, etc.), when suddenly, navigating to register or login crashes the entire app locally. I reverted back to the last working commit…
J.G.Sable
  • 1,258
  • 4
  • 26
  • 62
1
vote
2 answers

Duende Sofware Backend for Frontend cookie not found on Firefox

I use Duende Software and Backend for Frontend Pattern, All is well on local with Edge / Chrome / Firefox, When I deploy my solutions to my server, all is well on Edge / Chrome but for Firefox (111.0 (64 bits)) I have this exception…
Brak
  • 13
  • 3
1
vote
1 answer

"Remember me" Duende Identity server

I got a JS client using the library oidc-client-ts in the front end and a .Net API protected with JWT issued by an external Duende Identity Server installation. The user gets signed in and can make requests to the API. Now I'm trying to implement…
bjorkblom
  • 1,849
  • 3
  • 21
  • 31
1
vote
1 answer

Claims for a role assigned to user not present in the produced JWT

I have a role admin assigned to a user. On that role, there's a claim elevated. When I sign in using authorization code flow and get the token, the sub field is correctly set. However, there's no sight of the role nor the claim for it. I checked the…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
1
vote
1 answer

What is the certificate required for?

I understand very well the purpose of certificates: both in a general case and in the specific usage for token creation under IDS. When I wire up my IDP like this: services.AddIdentityServer() …
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
1
vote
1 answer

Using Duende IdentityServer with a mix of clients, including Blazor WASM and ASP.NET Web Forms

We have a legacy Web Forms app that we intend to slowly port over, module by module, to Blazor WASM. As we do not have the capacity to rebuild everything in Blazor straight away, we are going to have to run the Blazor and Web Forms app side by side…
1
vote
0 answers

Localizing Identity Server Razor pages and messages

I am developing a Blazor hosted WASM app with individual accounts, that by default uses Duende Identity Server. It works, but all the account management pages and messages are in English when I need them to be in French (I don't need a multilanguage…
GerardF
  • 133
  • 1
  • 2
  • 8
1
vote
1 answer

Is it possible to use AspNetIdentity with Duende IdentityServer Backend for Frontend (BFF) approach?

So lately I am trying to setup my Blazor Webassembly (Core hosted) application with Duende IdentityServer. Although most information is well documented, I can't seem to find any examples on how to integrate AspNetIdentity with Blazor WASM. The…
Nicolas
  • 2,277
  • 5
  • 36
  • 82
1
vote
0 answers

NET 7 - Identity Server - Unable to load one or more of the requested types. Method 'get_ServerSideSessions'

Getting the following exception in app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); }): System.Reflection.ReflectionTypeLoadException: 'Unable to load one or more of the requested types.Method 'get_ServerSideSessions' in type…
Diego
  • 183
  • 2
  • 11
1
vote
0 answers

What is the best way to separate authorization from authentication?

I am using IdentityServer 6.1.1 with ASP.NET Core Identity In this flow, I can programmatically add claims to the access token in the ProfileService based on the client's request of the resource api scope of "api1" public Task…
1
vote
1 answer

Net7 JWT Null Reference when publishing Blazor WASM Project?

so I've been working in the Net7 preview and have been trying to deploy a WASM project with identity and authentication which works fine locally. When I deploy the website 500s and digging into some of the logs, I get: 2022-11-07T13:42:28.854805951Z…
1
vote
0 answers

How to add a custom SignInResults that halts the signin until an action is completed in SignInManager

I'm trying to include a step for terms of use accepting during the login process in Identity Server, much like this question Adding Custom SignInResults to what's returned from a SignInManager PasswordSignInAsync. The problem is that the…
1 2
3
11 12