Questions tagged as 'asp.net-identity'

0
answers

ASP.NET Identity: Authentication Error

I changed the PK of the String Identity tables to Int, but When you log in, Identity does not authenticate, it logs usually do not have access to any of the controllers which requires permission, returns to Home. I do not know if there is any pr...
asked by 20.10.2016 / 17:32
1
answer

Default Value of Role in a dropdown

I have in my index the users, each user has a Dropdown with Roles, when does Get does not show the value that is by default in Dropdown Controller: public ActionResult IndexGestor(string roles) { //query entre 2 bases...
asked by 13.06.2016 / 16:00
0
answers

Using Claims Replacing Sessions

I am refactoring an application that I am developing, applying good ASP.NET MVC practices to it, there is a difficulty in understanding the Claims and how to apply it to replace Session usage. When I log in to the application I save some informa...
asked by 16.09.2015 / 20:14
2
answers

How do I add Role to User Registration?

I have an Asp.Net MVC project that uses Individual User Account and I would like to add a category ( Role ) to it at the time of registration. What I have at the moment is: View : @model Projeto.Models.RegisterViewModel @{ ViewBa...
asked by 08.06.2015 / 16:15
0
answers

Why does my asp.net mvc tables have pk duplicate user?

I'm using asp.net identity for authentication and authorization I have my user class: public class Usuario : IdentityUser<int, ApplicationUserLogin,ApplicationUserRole, ApplicationUserClaim> { } public class ApplicationUserLogin : Id...
asked by 23.09.2014 / 23:46
1
answer

'object' does not contain a definition for 'Action'

I'm using MVC 5 with Identity to login, this error appeared so far that I could not find a solution. Error happens in view _ExternalLoginsListPartial.cshtml     
asked by 16.09.2014 / 16:43
1
answer

Asp.net Identity Decrypt

Is it possible to decrypt the password generated by Asp.Net Identity?     
asked by 31.10.2017 / 16:07
1
answer

Put Validation on Asp Net MVC Identity

I tried to locate this question in the forum and could not find it. I have an MVC Asp Net application that uses to login the Entity Framework with Identity. My client registration works perfectly, but I am not able to validate two fields: Userna...
asked by 22.02.2018 / 03:46
1
answer

Asp.net Identity Link authentication opens in white

I need a Help, when authenticating Email. It is not all but some users who receive the authentication email, after clicking the link that receives the email, it goes to a blank page, it follows ex: link Querying the user ID: 05a98f16-...
asked by 30.10.2017 / 12:07