9,050 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
102
views
401 Unauthorized despite sending login token in Headers
I am trying to do a POST request to an API endpoint api/auth/assign-role with this data:
{
"userId": "3d2243fc-8d32-4889-a7e2-624af56a3f91",
"role": "Doctor&...
Advice
0
votes
1
replies
64
views
How to implement session timeout in .NET Framework 4.7.2 application
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.
...
0
votes
1
answer
180
views
Protected Remote MCP Server - VS Code
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....
0
votes
1
answer
128
views
Owin security could not handle callback "signin-oidc", Error 404 on ASP.NET MVC
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 ...
0
votes
0
answers
109
views
How to modify ASP.NET Core Identity cookie name after initialization?
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 ...
1
vote
1
answer
60
views
No buttons (or other interactive elements) work when I use a data-bound object
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]
@...
0
votes
1
answer
338
views
Blazor Server (Interactive Render Mode) Custom Login Page with IdentityCore and Cookie Authentication
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 ...
0
votes
0
answers
57
views
Using JWT for Identity Auth in MongoDB
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 ...
0
votes
0
answers
91
views
How to reuse and extend the existing Refresh Token when using refresh_token grant in OpenIddict without issuing a new one?
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 ...
0
votes
0
answers
81
views
ASPNET IDENTITY Automatically terminates user sessions
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, ...
0
votes
0
answers
42
views
Does ASP.NET Identity have a method that allows for batch creation of users using UserManager?
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 ...
1
vote
0
answers
214
views
Problems integrating MudBlazor with existing Blazor login page
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 ...
0
votes
1
answer
87
views
EntityFrameworkCore.Identity: Can it be added to an existing project or should I start from scratch?
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 ...
0
votes
0
answers
84
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 ...
0
votes
0
answers
89
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 ...