asp.net-identity Questions
3
Solved
I am new to asp.net core and I created an app with Asp.Net Core 2.2 +EF using Identity Core to create a registration page and I got this error after I ran the app and introduced some test data(emai...
Neutrino asked 19/9, 2019 at 17:59
8
I am using Asp.Net Core and ASP.NET Identity and when I get a Claim type I get something like
"type":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier",
"value":"123"
How to...
Briefing asked 30/3, 2016 at 17:18
4
Solved
I've got an older asp.net core identity database, and I want to map a new project (a web api) to it.
Just for the test, I copied the Models folder, and the ApplicationUser file from the previous p...
Northeasterly asked 16/1, 2017 at 14:58
1
I'm learning about Clean and Vertical Slice Architecture for the first time and I'm having trouble understanding where Authorization and Authentication would fit in if we are using ASP.NET Core Ide...
Prevailing asked 7/4, 2022 at 14:55
9
I am beginner in ASP .NET Core 2.1 and working on project which is using ASP .NET Core 2.1 with individual authentication. I want to make my login page as my default route instead of Home/Index:
...
Gipsy asked 24/7, 2018 at 19:43
6
This error occurs while trying to add-migration for the first time. I have added the extension method and my service class
public void ConfigureServices(IServiceCollection services)
{
services.Ad...
Laylalayman asked 15/7, 2020 at 3:2
4
I am developing an ASP.NET Core Web app (.NET 5.0).
This is an intranet app, so I am using Windows Authentication.
For Authorization, I am using custom roles from AspNetCore.Identity (don't want to...
Karney asked 7/6, 2021 at 18:44
2
What is default expiration timespan of GenerateEmailConfirmationTokenAsync? and what kind of errors should I get from ConfirmEmailAsync?
For ConfirmEmailAsync got Invalid token error. is there any...
Hexad asked 7/3, 2018 at 11:14
4
Solved
I am using Asp.Net Core Identity and trying to simplify some code that projects a list of users and their roles to a ViewModel. This code works, but in trying to simplify it I have gone into a craz...
Doner asked 15/9, 2016 at 18:38
3
I'm making webapp with cookie-based authentication. I have login screen, backend sends cookie and then browser sends cookie with each requests.
But when I try to reach secured endpoints (with or wi...
Faculty asked 9/3, 2023 at 11:7
3
Solved
I am trying to block multiple logins with the same user in my application. My idea is to update the security stamp when user signin and add that as a Claim, then in every single request comparing t...
Achelous asked 5/8, 2015 at 11:30
2
In .net 8 i understand that .MapIdentityApi and .AddIdentityApiEndpoints are added.
The issue is that they add a bunch of things i don't want.
For example you are not allowed to register, only admi...
Aga asked 7/12, 2023 at 11:26
2
I am trying to add some additional fields to my identity user.
I found that this is fairly straightforward by creating a new class inheriting from IdentityUser and passing the inherited class to th...
Brominate asked 22/11, 2023 at 18:38
3
Solved
While following tutorial
Create a RESTful API with authentication using Web API and Jwt I'm having trouble getting the CustomJwtFormat class to compile:
using System.IdentityModel.Tokens;
using Mi...
Dees asked 31/1, 2017 at 17:33
2
Solved
While implementing external social login in ASP.NET Core2.2 MVC web application without ASP.NET Core Identity. I am getting below error while redirecting back to the application after successful si...
Abseil asked 28/7, 2019 at 11:12
3
Solved
I have problem in which i would like to create N, two in the example, user objects (e.g. Customer & Supplier) which all inherent from the asp.net IdentityUser object. These object have very dif...
Geographical asked 21/11, 2014 at 10:20
3
Solved
I'm working on an SPA web app, and im using IdentityServer4 code flow to handle the authorization. So I have the following components:
The Angular Client Side App, https://localhost:5001
Asp.net 3...
Illboding asked 28/8, 2020 at 20:20
10
Solved
I'm using Identity and I have a problem that I make a new example project and with individual authentication and scaffold identity
InvalidOperationException: Unable to resolve service for type 'Mi...
Duplessis asked 30/8, 2018 at 5:40
4
Solved
I am trying to customize asp.net identity entities with the following ones:
public class User : IdentityUser<string, UserClaim, UserRole, UserLogin>
public class UserClaim : IdentityUserClai...
Aloisia asked 17/9, 2016 at 15:42
11
Solved
I'm trying to add facebook login to my .NET Core 2.1 site
I'm following this , guide and more specific, this (for facebook login)
After have adding the lines below to startup.cs, inside ConfigureSe...
Upolu asked 3/7, 2018 at 19:31
3
I added the new identity endpoint from .NET 8 with .MapIdentityApi().
How can I expand the "/register" and "/login" endpoint to allow the username to be passed? When I register ...
Deoxyribonuclease asked 5/1, 2024 at 16:9
2
I am using a combination of IdentityServer4 and ASP .NET Core Identity to create a federated sign-in page. One of the external providers I am using is Azure Active Directory through the Open ID Con...
Smallage asked 19/4, 2019 at 5:31
11
Solved
How can I get the password of a user in the new ASP.NET Identity system? Or how can I reset without knowing the current one (user forgot password)?
Heteronomy asked 22/10, 2013 at 17:6
6
Solved
Trying to implement Identity in ASP.NET Core 2.0. Having many problems getting my head around this.
Startup.cs
public class Startup
{
public Startup(IConfiguration configuration)
{
Configurati...
Jonme asked 12/4, 2018 at 5:43
3
Solved
i am extending the identity server to use custom identity server implementation
public static void UseMongoDbForIdentityServer(this IApplicationBuilder app)
{
//Resolve Repository with ASP .NE...
Oidium asked 24/9, 2018 at 22:6
1 Next >
© 2022 - 2025 — McMap. All rights reserved.