Questions tagged [identityserver6]

9 questions
1
vote
2 answers

Problem testing authentication on Maui app with IdentityServer running on localhost

I need to build a .NET 7 MAUI app which authenticates on a .NET 7 ASP.NET Core app running Duende IdentityServer (version 6.2.3). I'm starting with a proof of concept app but I'm having trouble testing it when I run IdentityServer on localhost. My…
Dave Barnett
  • 2,045
  • 2
  • 16
  • 32
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
0
votes
0 answers

Not getting roles using a SSO identity framework 6 server

I have been trying to make a login server to use as single sign on server for multiple applications but I can't seem to get roles on my client side of the application. When I check the roles in User.Claims nothing is there and [Authorize(roles =…
Gyliana
  • 1
  • 1
0
votes
1 answer

Duende BFF Framework - Missing Access Token

I'm trying to authenticate users for access to my React SPA. I'm trying to use IdentityServer6 and Duende's BFF framework to accomplish this. I'm working locally in a debug environment. I've followed their documentation to the T, and login appears…
0
votes
0 answers

How to migrate Identity Server 6 Code Configuration into Database?

I'm using Identity Server 6 and have followed various quickstarts to get started with this. I have a coded configuration (in my Config.cs file) but my IS server is now using the EF Database configuration provider for MS SQL. I now want to take my…
0
votes
0 answers

Identity Server 6 Invalid redirect Uri with WinForms client

Trying to build an interactive login form in a NET 6 WinForms app, using Identity Server 6 but heavily inspired on the Winforms client example provided here:…
0
votes
1 answer

COMException: Cannot change thread mode after it is set on EnsureCoreWebView2Async(null) - faulty implementation in IdentityModel.OidcClient?

I am trying to build interactive login functionality into my .NET 6 Winforms Application, using Identity Server 6 as my IDP. I have modelled my client-side code on an Identity Server reference example for WinForms. The reference example project is…
0
votes
1 answer

When calling api from web application using ajax (error 401 unauthorize)?

api calling from web application ajax (401 unauthorize error). all cookie get in api ,in this cookie access token available but api will not authorize in this code used a withCredentials: true and using identity server 6 web application ajax code…
0
votes
1 answer

Identity Server 6 : The Problem is How to API Authorize in Asp.net(.Net Framework 4.8)?

I did try this method in API Startup below And Show me the Error When I Call API through the Web MVC Project. The Error is "Response status code does not indicate success: 401 (Unauthorized)." app.UseJwtBearerAuthentication(new…