Asp.NET Identity 2 giving “Invalid Token” error
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.
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.
I’ve read this and while it explains how role changes will eventually propagate to the user cookie after some time interval, I still don’t understand how I force an immediate change to user roles.
I recently updated Asp.Net Identity Core of my application form 1.0 to 2.0.
How can i customize Asp.net Identity 2 username already taken validation message(Name XYZ is already taken.)? Thanks
This question is continuation of my previous one: ASP.Net Identity 2 login using password from SMS – not using two-factor authentication
I’m using the Identity 2.0 framework for user management.
Unfortunately, in my use case an account activation/password reset cannot be done using a direct link, so the user would have to copy the code from his e-mail and paste it into the website.
i have a web service, users can login to service and give bearer token.
I have a stored procedure that updates status. Depending on the role of the user the stored procedure has code that may or may not allow the status change. For this reason I need to pass a role name into a stored procedure. My role name is stored on the client in my javascript code but of course I need a second check on the server. Each user has only one of three roles and when requesting an update of status I can call one of three methods depending on the role that the client has. Here’s what I tried.
I have a drop down list box which lists roles. I want to get the list of users having that role. I mean list of users that are in “Administrator” role or “CanEdit” role. Here is my code:
I am having trouble getting ASP Identity to refresh its Identity stored in a cookie on demand.