Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
70 views

I am trying to do a POST to an API endpoint api/auth/assign-role with this data : { "userId": "3d2243fc-8d32-4889-a7e2-624af56a3f91", "role": "Doctor" } ...
bibashmanjusubedi's user avatar
Advice
0 votes
0 replies
38 views

We have several applications built in .NET Framework 4.7.2 that uses .NET Identity for authorisation and authentication. I am trying to implement a session timeout, in line with OWASP recommendations. ...
Martin Vaughan's user avatar
0 votes
1 answer
66 views

I'm trying to connect vs code to a local MCP server that is using HTTPTransport and is secured by OAuth. It was working fine up to the point I started validating the scope. builder.Services....
Bruno Willian's user avatar
0 votes
1 answer
110 views

I have a simple ASP.NET MVC app with .NET 4.8. I want to use keycloak as security management and my app connect to it via openid connect protocol. To do this, I've created a startup.cs class in my ...
hdv212's user avatar
  • 95
0 votes
0 answers
105 views

I have an ASP.NET Core application that does multi-tenanting based on the path. For example to log into tenant1 you would go do https://domain.name/tenant1 and to log in as tenant2 you would go do ...
ghosttie's user avatar
  • 708
1 vote
1 answer
60 views

I’m trying to display user identities and fetch a list of users, but buttons stop functioning if I use ApplicationUser (inherited from IdentityUser) retrieved via UserManager. @attribute [Authorize] @...
Alex T's user avatar
  • 13
0 votes
1 answer
261 views

I'm building a Blazor application using the interactive server rendermode and I want to implement a custom login page using ASP.NET Core Identity. For authentication, I'm configuring IdentityCore like ...
sir's user avatar
  • 9
0 votes
0 answers
50 views

I am running into an issue with trying to use .NET Identity with a MongoDB backend. The problem is related to authorization. I want the API to use JWT but it would seem the package I am using defaults ...
Age of Empires's user avatar
0 votes
0 answers
77 views

I'm using OpenIddict 6.3.0 with ASP.NET Core 8, and I want to customize the behavior when using the refresh_token grant. ✅ Goal: When a refresh_token is used: I want to reuse the existing refresh ...
Suhail Keyjani's user avatar
0 votes
0 answers
79 views

I developed a website using .NET 6.0 and ASPNET Identity. I dont have any cookie or session related operations in my controllers. Also, everything perfectly works in my development enviroment (I mean, ...
mesut yıldırım's user avatar
0 votes
0 answers
41 views

I am implementing a method that receives data from an API. At the moment, the API is adding the data to the database by using a loop. This however is looking more and more unreliable as the data keeps ...
Victor Mwangi's user avatar
1 vote
0 answers
199 views

I've been trying to enhance my Blazor Identity login page with MudBlazor components. I've encountered multiple errors that prevent it from working: SSL Certificate Error - When I first added ...
Hakkology's user avatar
0 votes
1 answer
80 views

I'm working on my final year project(fyp) and intended to add an account system using EF Core Identity. When I started my project I found it difficult to get to grasps with the best way to use ...
user30261227's user avatar
0 votes
0 answers
82 views

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,728
0 votes
0 answers
86 views

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
56 views

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
  • 208
1 vote
0 answers
48 views

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
48 views

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
-1 votes
1 answer
63 views

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
97 views

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.6k
0 votes
0 answers
30 views

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
72 views

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
79 views

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
135 views

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
425 views

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
  • 363
0 votes
0 answers
105 views

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
76 views

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
0 votes
3 answers
156 views

I want to retrieve the authentication method of a logged-in user, e.g. something like "by username/password", or for oauth cases "via facebook" or "via google". After ...
Grimm's user avatar
  • 811
0 votes
0 answers
42 views

I have a default connection string which has the default connection for the identity server so I register this identity server successfully, but I have tenants stored in a database table and I have a ...
Youssef Alamrousy's user avatar
0 votes
1 answer
88 views

I had to extend IdentityUser model (and AspNetUser table of course) with some extra field (RegistrationDate) so I created ExtendIdentityUser model class. It works nice. Then, I needed to change some ...
1_bug's user avatar
  • 5,786
0 votes
0 answers
21 views

Currently, I'm working on a Blazor Server app using Microsoft Identity. However, I have a problem with the user login feature. I can create and confirm a user without any issues, the state in the ...
Masa_97's user avatar
-13 votes
1 answer
308 views

I am working on adding the ability to authenticate in my app using Google OAuth2. My app is a Blazor Interactive Server using the Identity Library (not Blazor Identity). I don't have this working yet. ...
David Thielen's user avatar
0 votes
1 answer
85 views

I have a WebApi project that has endpoints for all the business logic, including an implementation of the Identity endpoints for login/register/etc. The cookie authentication works fine on the WebApi ...
Trent W's user avatar
0 votes
0 answers
92 views

I'm building my first app with Blazor, and it's actually my first project authenticating with RapidIdentity as well. I have my URIs and ClientId / Secrets already setup as well. Anyway, I'm having ...
user2233255's user avatar
0 votes
2 answers
196 views

I am working on a .NET 8 Blazor project with .NET Identity authentication. My goal is to automatically log in the user and redirect them within the OnInitializedAsync method based on an OTP provided ...
Coder3000's user avatar
  • 477
1 vote
0 answers
40 views

I'm currently implementing token-based auth with refresh tokens in my .NET app. Right now I have a custom RefreshTokens collection in my ApplicationUser: public class ApplicationUser : IdentityUser { ...
filur's user avatar
  • 1,646
0 votes
0 answers
134 views

I am facing a issue when Identity server redirect from https:/sso.com/connect/authorize?.. to https://anotherhost.com/sigin-oidc it is showing CSP error as stated that refused to send form data to ...
gaurav's user avatar
  • 1,335
1 vote
1 answer
454 views

To give you some context: I am trying to implement a Refresh/Access Token Authentication security to a simple Web API using ASPNET Core. Its going well so far.. It does work! Just not as expected. To ...
yzkael's user avatar
  • 363
1 vote
1 answer
192 views

Followed the instructions here for browser-delegated authentication, steps completed under .NET MAUI including "Prepare tenant", "Create .NET MAUI app", and "Sign in and sign ...
Ryan Langton's user avatar
  • 6,180
0 votes
1 answer
101 views

I'm creating a MSAL web API using instructions here. When following the instructions for "Expose the API", I am not able to adhere to step b. (For Who Can consent, ensure the Admins and ...
Ryan Langton's user avatar
  • 6,180
0 votes
0 answers
469 views

We're looking at implementing Elsa 3.0 into our asp.net core web server that currently uses wasm as the client. It's all currently setup with if it's own identity combined with OpenID etc. Im just ...
Matt's user avatar
  • 2,913
0 votes
0 answers
50 views

I have an ASP.NET application that I'm transitioning from the old Membership system to Identity framework (with a view to eventually port the whole thing to .NET Core, but that's a long way off). I ...
Matt Burland's user avatar
  • 45.3k
0 votes
0 answers
50 views

var token = await _jwtTokenService.GenerateToken(user); HttpContext.Response.Cookies.Append("accessToken", token, new CookieOptions { HttpOnly = true, Expires = DateTime.UtcNow....
Mahesh Kumar's user avatar
0 votes
1 answer
164 views

I'm working on asp.net MVC project based on .NET 8.0. My site is using ASP.Net Core Identity for user authentication. It's working fine. I have to connect to remote server which is using OAuth2 ...
Peter's user avatar
  • 3
-4 votes
1 answer
85 views

execution of my web applications fails with following runtime error: Could not load file or assembly 'Microsoft.Owin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its ...
Thierry Verhaegen's user avatar
0 votes
1 answer
240 views

I have an ASP.NET Core Razor Pages Webpage which can be browsed to on smartphones (Android and IPhones). I use ASP.NET Core Identity to secure access to the site. My users want to add icons to the ...
Flipps's user avatar
  • 11
0 votes
0 answers
33 views

I have several settings related to password complexity, and their values can change dynamically from another server. To handle this, I implemented a custom password validator that reads the settings ...
Renju Ashokan's user avatar
0 votes
1 answer
88 views

I've got a razor pages/mvc web app that uses ASP.Net Core Identity for authentication and authorization. I'm starting to develop a mobile app version of the site using MAUI and wanting to access many ...
Growable's user avatar
2 votes
1 answer
281 views

I have an ASP.NET Core Blazor web app, which uses Identity for authentication. The server project's Program.cs contains the following (rather trivial) endpoint... app.MapGet("/testapi-time", ...
Avrohom Yisroel's user avatar
0 votes
1 answer
48 views

I want to remove the UserName field from the IdentityUser I don't want to use it
Marko Sami's user avatar

1
2 3 4 5
182