Skip to main content

All Questions

0 votes
0 answers
96 views

Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException while ASP.NET Core 8.0 MVC app trying to connect with IdentityServer4 App in IIS

We are migrating our projects from .NET 6.0 to .NET 8.0, where I am getting this error. We have one ASP.NET Core MVC application which is trying to connect to the IdentityServer4 application for ...
Naresh Parmar's user avatar
0 votes
0 answers
25 views

I am using Identity server 4 oidc authentication but when ever I apply authorize attribute then I am getting this - Token was not authenticated

This is the logging I am getting enter image description here Configurations - services.AddIdentity<ApplicationUser, Role>() .AddDefaultTokenProviders() .AddDefaultUI(...
Surya Partap Singh's user avatar
0 votes
0 answers
43 views

Does Microsoft.AspNetCore.Authentication.MicrosoftAccount validate claims to mitigate N0Auth?

When using the Nuget package "Microsoft.AspNetCore.Authentication.MicrosoftAccount" (https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.MicrosoftAccount/), does this follow ...
cowlinb6's user avatar
0 votes
0 answers
29 views

How to deal with authentication issue combining the Reactapp and Identity Server4

My OAuth Server implemented using Identity Server4; The issue is I can able to access the Client-2 app after authenticated Client-1 app alone. I have two react apps and server apps (Reactapp-1, ...
Meeran S's user avatar
0 votes
0 answers
15 views

how to check Is2faEnabled in identity server while using connect/token for mobile login?

In my project, Identity Server is already implemented for web, and it's functioning well, including 2-Factor Authentication (2-FA). Currently, when logging in from a mobile device, we make a call to:...
Mudassar Iqbal's user avatar
0 votes
2 answers
90 views

How to Get Rid of Unwanted Issued Cookie Claims in IdentityServer4

I am using IdentityServer4 with id_token flow. At the moment, I am only storing about 2 custom claims, but my cookie is already nearing size limit 3623/4093 bytes, because apparently IdentityServer4 ...
Emre Bener's user avatar
  • 1,284
0 votes
1 answer
87 views

Identity Server 4 With Oauth 2 Scope

I implemented Identity server 4 and client angular every thing work as excepted I determined Scopes for client (openid,profile,email) but when try to remove openid from scope array from server and ...
Mohamed Mansour's user avatar
0 votes
1 answer
67 views

Client redirect does not work after login due to Bad Request error

I am working on a project that uses login via a IdentityServer 4 authentication server that uses. We have multiple seperately hosted client applications that will access this. We pull in the allowed ...
jcx200's user avatar
  • 164
0 votes
0 answers
25 views

I have added custom claims, but they are not getting added into token

enter image description here enter image description here enter image description here I am doing this but still I'm not able to add custom claims. I have tried above code but still can't able to get ...
Surya Partap Singh's user avatar
2 votes
1 answer
381 views

How to authenticate my signalR client with IdentityServer 4

In my client, I use this code to get a token, "http://localhost:5006" is my IdentityServer (the authority) var httpClient = new HttpClient(); var discoveryDocument = httpClient....
Aminos's user avatar
  • 861
2 votes
0 answers
82 views

Integrating Minio with a .NET Project using an Identity Provider

I am working on a .NET project where I need to integrate Minio as an object storage solution while using IdentityServer4 as the Identity Provider for authentication and authorization. I've been trying ...
Mohammad Ghasemi's user avatar
0 votes
0 answers
117 views

ASP.NET Core Authentication middleware bypassing expired access tokens associated with cookie

I have an ASPNETcore MVC client authenticating with IdentityServer4 in order to access an API. The API expects the bearer token in a request header, when the bearer token expires, the request is short-...
Jamal Salman'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
0 votes
2 answers
48 views

IdentityServer4 in NetCore, tokens lost on restart

I am facing an issue with IdentityServer4. Whenever I restart the server, the tokens get deleted from memory and the users have to re-identify themselves. I need these tokens to persist and not get ...
MANUEL SOLER PUERTO's user avatar
0 votes
1 answer
460 views

What is the correct way to logout from IdentityServer4 in React Native Expo

I have a small react native expo app that I would like to authenticate for access to APIs using IdentityServer4 I managed to get the sign-in process to work using AuthSession.useAuthRequest() where I ...
Stefan Paunovic's user avatar

15 30 50 per page
1
2 3 4 5
22