Skip to main content

All Questions

0 votes
1 answer
58 views

How can run the IdentityServer for Macos?

I am developing a project, it is requested to use IdentityServer4. I install the project but I can't run it because it doesn't support .net 3.1 on Macos operating system. I did some research, I found ...
levent41's user avatar
0 votes
1 answer
154 views

Identity Server: Refresh Token for the currently Authenticated User

Authentication configuration: services.AddAuthentication(options => { options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; options.DefaultChallengeScheme = ...
KA-Yasso's user avatar
  • 273
1 vote
0 answers
61 views

How to switch Authenticate Scheme at runtime based on request header

I'm trying to change an existing web API to allow switching between IdentityServer and JWT based authentication. Both forms of authentication work on their own when set to be the ...
Chris Gilbert's user avatar
0 votes
0 answers
417 views

Two factor authentication using Identity server 4 asp.net Core, how to increase the expiry time from default 6 minutes to 30 minutes

Asp.Net Core Identity Server 4 is used for authentication. Am using the Identity Server 4 DLL in project and all methods like UserManager.GenerateTwoFactorTokenAsync. I need to change the default ...
karthi's user avatar
  • 1
1 vote
0 answers
84 views

RBAC in ASP .NET

I'm using asp .net idneitty and duende identity server so i have 2 tables in my data base ASPNETROLES and ApiScope (api1.read ,api1.write , .....) my probleme is that i want to assign those scopes to ...
xxxyyy's user avatar
  • 29
0 votes
1 answer
795 views

How to initiate logout process from External Identity provider programmatically

I'm modifying some code which uses IdentityServer4, I have this scenario where the callback action method has to handle UserNotFound exception during login process, in this case I would like to logout ...
DayTimeCoder's user avatar
  • 4,322
0 votes
0 answers
118 views

Identity claims are dropped

My problem is that while identity claims are correctly present in identity token on initial sign-in, they are absent in the identity token on token refresh. I (still) use IdentityServer4 and use ...
Merijn's user avatar
  • 703
0 votes
0 answers
66 views

How to correctly delete a user (and get the user to autmatically logoff) in ASP.NET using Identity Server

I'm using IdentityServer 4 but I think this question applies to ASP.Net identity in general. We are considering to adapt an external (WinForms) tool to automatically delete (and later also create and ...
Louis Somers's user avatar
  • 2,809
0 votes
1 answer
706 views

IdentityServer4 Admin API always return 403 Forbidden

I have IdentityServer4 running at https://localhost:44311/. I am building a custom User Interface using IdentityServer4 Admin APIs. I wrote a small program to test if I could correctly call Admin API ...
Syed Rafey Husain's user avatar
0 votes
1 answer
602 views

IdentityServer4 always return 401 Unauthorized or 403 Forbidden

I am new to IdentityServer4. I have created a IdentityServer4 client, a scope at the IdentityServer4 running at https://localhost:44311/. I secured a sample Weather API using IdentityServer4. When I ...
Syed Rafey Husain's user avatar
0 votes
1 answer
338 views

.NET Core Identity - Unable to authenticate with username containing special characters

We have a .NET Core 3.1 app, usign ASP.NET Core Identity and IdentityServer4. We had a requirement to enable creating new users with special characters in their emails, for instance: sömêthìng@example....
André Miranda's user avatar
0 votes
1 answer
264 views

ASP.NET Core 6 ReactJS Web App on Linux has issues with IDX10634: Unable to create the SignatureProvider

I have deployed an ASP.NET 6 solution based on the ASP.NET 6 ReactJS template into a Linux CentOS/Apache hosting environment. According to the error message provided below, It seems I need to alter ...
user3105469's user avatar
2 votes
1 answer
3k views

ASP.NET Core authentication/authorization with external OpenID Connect provider

I'm learning authentication/authorization in ASP.NET Core and got confused by which components I should use in my scenario: I have an SPA frontend and an ASP.NET Core API backend. I'm using a third-...
Zizheng Tai's user avatar
  • 6,470
0 votes
1 answer
581 views

ASP.NET Core Identity: how to deploy to production?

I'm stuck with deploying a SPA (ASP.NET Core + identity + ReactJS, all built from 'ASP.NET Core With React.js' template in VS) to production. It works fine in the development environment, but when ...
Eugene's user avatar
  • 1,093
0 votes
1 answer
3k views

ASP.NET Identity Role claims missing

I'm logging in via Google using Duende IdentityServer, which is also configured to use ASP.NET Identity for user roles etc. Google IdentityServer Config: .AddGoogle(options => ...
Mike Andrews's user avatar

15 30 50 per page
1
2 3 4 5
17