Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
48 views

OpenIdDict using PKCS#11 / HSM interface?

I am working on a project that uses OpenIdDict für user authentication, thus, generating and validating JWTs (Java web tokens, HTTP header "Bearer"). Currently, the prototype relies on a ...
Ingmar's user avatar
  • 2,688
0 votes
0 answers
33 views

How to extend Client entity in Duende Identity Server v 7

I'm using Duende Identity Server v 7.0.7 and I need to add custom property to Client model. So basically add column to "Clients" table to store client specific value. I know it is possible ...
Anton Ilin's user avatar
0 votes
0 answers
28 views

System.MissingMethodException with AspNetCore.Identity.MongoDbCore and MongoDB.Bson.BsonDefaults

I'm attempting to integrate AspNetCore.Identity.MongoDbCore into my application. However, upon running the application, I encounter the following error: System.MissingMethodException: 'Method not ...
Zoltán's user avatar
  • 178
1 vote
0 answers
42 views

ASP.NET Identity reset password issue "username already taken"

I'm trying to reset user's passwords and I keep getting "username already taken" as an error. I don't quite understand... I'm not trying to create a new user, I'm trying to reset an existing ...
Barry Franklin's user avatar
0 votes
1 answer
42 views

Identity Model Customization .NET Core 8

I am trying to access the UserRoles property from my ApplicationUser entity and I keep getting an error message stating Invalid column name 'UserId1'. I am following this Microsoft article (https://...
Andrew's user avatar
  • 2,013
0 votes
1 answer
107 views

Azure Entra Id Access Token doesn't include Roles

I registered app: test.com Added App Roles: Added User with Roles Added Api Permissions But I don't see any roles-related claim in this list: This is my BE code: builder.Services.Configure<...
Sergey Nikolaevich Guk's user avatar
-1 votes
1 answer
59 views

Unable to create a 'DbContext' of type 'IdentityContext'. The exception

I wanted to create a many to many connection between the identity user and another table but when i modified my identity context and wanted to create a migration i got the following error Unable to ...
Virgil's user avatar
  • 1
0 votes
0 answers
57 views

How can I specify WithAppOnly() globally for a GraphServiceClient, so I don't have to specify it for every single Microsoft Graph request?

How can I specify WithAppOnly() globally for a GraphServiceClient, so I don't have to specify it for every single Microsoft Graph request? Consider the following code: var c = app.Services....
Shuzheng's user avatar
  • 14.2k
0 votes
0 answers
23 views

Validate Google Auth Token against Microsoft Identity External Authentication

I have an ASP.NET MVC web application using Microsoft Identity authentication with Google Authentication features, all works great from the website. The web site also exposes APIs for clients apps (a ...
Marco Lepri's user avatar
0 votes
0 answers
58 views

Can I use an interface with a foreign key in EF 6 and set it as a foreign key

I'm using EF 6 with .NET 4.8. All data entities classes are defined in a Model project so it can be used by client apps. Only User (ApplicationUser) model is defined in the Application project (I'm ...
orenb's user avatar
  • 1
0 votes
2 answers
42 views

The foreign key property 'UserRole.UserId1' was created in shadow state

EF creates UserId1 and RoleId1 in UserRoles table when I try to add migration. there are messages: The foreign key property 'UserRole.RoleId1' was created in shadow state because a conflicting ...
hrdfgn's user avatar
  • 5
0 votes
2 answers
108 views

Google login in ASP.NET Core - user still unauthorized with Google bearer token

I have integrated Google login with my ASP.NET app. So in callback call from google auth I get code that I use to get user token: // Must match Google settings var redirectUri = "https://...
Michał Turczyn's user avatar
1 vote
1 answer
228 views

Trying to seed data using Identity.AspNetCore with .UseSeeding and .UseAsyncSeeding?

So I've ran into an issue that I am not sure how to handle. You see I am trying to deal with an Initial seeding of Admin data for my App. But the thing is.. Since I am using Identity to handle both ...
yzkael's user avatar
  • 337
0 votes
0 answers
59 views

Issues with ASPNET Identity Google behind NGINX based reverse proxy

I'm in the process of adding Google Authentication to .NET 8 web app behind NGINX reverse proxy. App itself is simple CRUD web app. I do have Let's Encrypt certificate for https, it is terminating on ...
Gytis Murauskas's user avatar
0 votes
0 answers
55 views

System.InvalidOperationException in AspNetCore.Authorization

We receive the mentioned exception on our productive environment (azure web app) and have not found a way to reproduce this exception. Those exceptions occur during the usage peak of our application ...
peter's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
606