asp.net-identity-2 Questions
2
Solved
Entity Framework 6, MVC5, ASP Identity 2.0.
I'm new to Entity framework and ASP Identity.
I've created database with Code First approach, following these instructions: http://dotnetcodr.com/2014/...
Manx asked 14/12, 2014 at 14:28
7
Solved
For some reason I am yet to discover, but after a successful registration and activation, I cannot login with the email address, instead I get an error "Invalid login attempt".
As ASP.NET Identity...
Misesteem asked 12/5, 2014 at 16:23
4
I have been given the requirement to provide the ability to create users through the UI with no password. I am trying to accomplish this using ASP.NET Identity.
I am able to successfully create a...
Bonnybonnyclabber asked 19/11, 2015 at 20:5
2
Solved
I have a problem I can not understand in asp.net identity
apply the following steps
create two empty web projects, they have names :
WebApplication1
WebApplication2
install package "Microsoft ...
Tobar asked 12/4, 2014 at 12:0
24
Solved
I'm using Asp.Net-Identity-2 and I'm trying to verify email verification code using the below method. But I am getting an "Invalid Token" error message.
My Application's User Manager is like thi...
Drawer asked 20/8, 2014 at 12:55
2
Solved
I'm using the Asp.Net Identity framework, and I have a User class which looks like this:
public class User : IUser
{
public string Id {get; private set;}
public string Email {get; set;}
string...
Outstrip asked 13/5, 2014 at 11:13
2
Solved
Building a custom IUserPasswordStore to connect to a legacy system's username/password table. The password is hashed with custom code in the table so I need to write custom code for PasswordSignInA...
Rhinencephalon asked 5/1, 2015 at 22:30
3
Solved
I am trying to implemented the standard Id in AspNetUsers from nvarchar to int. I've manage to get that side working. However my issue is when I try to login I keep getting an error from the UserMa...
Farron asked 21/11, 2014 at 11:46
3
Solved
I'm developing a Multi-tenancy web application with ASP.Net MVC and Identity 2.0. I have extended the IdentityRole like this:
public class ApplicationRole : IdentityRole
{
public ApplicationRole(...
Guilder asked 23/1, 2017 at 6:16
6
Solved
I'm generating a usertoken like so
public async Task GenerateCode()
{
var code = await UserManager.GenerateUserTokenAsync("heymega", new Guid("16139fcd-7ae0-449c-ad1c-f568bbe46744"));
}
I th...
Houselights asked 29/4, 2015 at 11:18
11
Solved
I recently updated Asp.Net Identity Core of my application form 1.0 to 2.0.
There are new features which I wanted to try like GenerateEmailConfirmationToken, etc.
I'm using this project as a refere...
Oxus asked 25/3, 2014 at 9:14
7
Solved
I want to save user without email, like this:
var user = new ApplicationUser { UserName = model.Name };
var result = await UserManager.CreateAsync(user);
But I got error "Email cannot be null or...
Blackball asked 12/1, 2015 at 15:19
5
Solved
I am using Identity v2 and MVC 5 for external login.
In my external login callback function, I log the user in with
var result = await SignInManager.ExternalSignInAsync(loginInfo, isPersistent: ...
Shotten asked 2/7, 2015 at 13:15
5
I am trying to set the value of a column in aspnetuser table from a different controller (not accountcontroller). I have been trying to access UserManager but I can't figure our how to do it.
So f...
Auden asked 27/3, 2015 at 3:1
2
What kind of algorithm does Asp.Net Identity framework use to encrypt the password? I have a scenario where android, iPhone, web and desktop use the same database.
This password should be encrypted...
Rutter asked 15/7, 2014 at 5:14
11
Solved
I need ability to change password for user by admin. So, admin should not enter a current password of user, he should have ability to set a new password. I look at ChangePasswordAsync method, but t...
Farwell asked 27/3, 2015 at 0:36
3
Solved
An external company has done some penetration tests on the ASP.NET MVC 5 application i'm working on.
An issue that they raised is described below
A cookie linked with session Management is call...
Its asked 1/12, 2015 at 12:42
4
Solved
I am developing one application using asp dot net core 2 using MySql database.Please help me How can i use Asp Net Identity in MySqlDatabase.
Lactam asked 19/9, 2017 at 10:54
5
Solved
How can i customize Asp.net Identity 2 username already taken validation message(Name XYZ is already taken.)? Thanks
Wilson asked 26/12, 2014 at 10:3
2
Solved
Peace be upon you
I am trying to remove all roles from a user to disable his permissions and prevent him from accessing some pages.
I found this method to remove one role and it worked:
await Us...
Angelenaangeleno asked 10/12, 2016 at 10:40
2
I am implementing asp.net Identity. I have overridden the default classes with a int primary key rather than the default String. I followed the following article to do so: Article
Sorry for all th...
Nonresident asked 7/4, 2015 at 13:27
5
Solved
I am using Identity 2.1 in my MVC5 app.
I am setting the isPersistent property of the PasswordSignInAsync to true to enable 'Remember Me':
var result = await SignInManager.PasswordSignInAsync(mode...
Cardinal asked 5/1, 2015 at 23:0
3
Solved
I use ASP.NET Identity 2 in an MVC 5 project and I want to update Student data by using UserManager.Update() method. However, as I inherit from ApplicationUser class, I need to map Student to Appli...
Catercornered asked 17/9, 2016 at 9:13
3
I'm setting Identity Framework (2?) for my ASP.net site. I have the confirmation email working, but I can't figure out where or how to allow the user to request a resend of the confirmation email. ...
Brenza asked 3/6, 2016 at 21:12
2
Solved
var user = UserManager.Find(...);
ClaimsIdentity identity = UserManager.CreateIdentity(
user, DefaultAuthenticationTypes.ApplicationCookie );
var claim1 = new Claim(
ClaimType = ClaimTypes.Cou...
Gustavogustavus asked 13/8, 2014 at 17:6
1 Next >
© 2022 - 2024 — McMap. All rights reserved.