I need a way to generate custom tokens.
Looking over source code I found Rfc6238AuthenticationService class.
I'd like to use it, but because it is internal I'd like to avoid copying that class ju...
Id #2557 | Release:
| Updated: Oct 26 at 2:44 PM by Misiu | Created: Oct 26 at 2:44 PM by Misiu
OWIN Cookie authentication, seems to work fine on Windows 10/IIS 10, but not on Windows 2012 server with IIS 8.5.
When I login (with the IsPersistent setting to true) and close the browser, I am ...
Id #2556 | Release:
| Updated: Oct 3 at 11:00 PM by scheelings | Created: Oct 3 at 11:11 AM by scheelings
When the TKey for a user identity is set to "int" code in the SignInManager fails.
The two methods in SignInManager that fail are:
This method will always send a two f...
Id #2555 | Release:
| Updated: Sep 27 at 9:08 PM by bdorrans | Created: Sep 27 at 10:54 AM by DonaldF
The cookie called AspNet.ApplicationCookie is generated by OWIN after successful login. I cloned the request with cookies after login using Fiddler or other tool, then I signed out from application...
Id #2553 | Release:
| Updated: Jun 22 at 6:02 PM by dpmragu | Created: Jun 22 at 6:02 PM by dpmragu
I have written the following code to update the user's security stamp value to the database after signout. But It is not updated in the database and see the old value.
var user = UserManager.Find...
Id #2552 | Release:
| Updated: Jun 22 at 6:00 PM by dpmragu | Created: Jun 22 at 6:00 PM by dpmragu
public virtual Task<TUser> FindByEmailAsync(string email)
return this.GetUserAggregateAsync((Expression<Func<TUser, bool>>) (u => u.Email.ToUpper() == e...
Id #2551 | Release:
| Updated: May 18 at 8:01 PM by jonnybee | Created: May 18 at 8:01 PM by jonnybee
IPasswordHasher.VerifyHashedPassword returns one of three values: Success, SuccessRehashNeeded, Failed.
SuccessRehashNeeded is used to indicate "the password was successfully verified...
Id #2550 | Release:
| Updated: Apr 13 at 10:17 PM by bdorrans | Created: Apr 11 at 8:30 AM by MattCole_LiveHire
How use UpdateAsync/DeleteAsync?
ApplicationDbContext context ....
var userManager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(context));
var roleManager = new...
Id #2549 | Release:
| Updated: Mar 29 at 7:50 AM by SanterR | Created: Mar 29 at 7:50 AM by SanterR
I want to persist the login information as long as possible once the user login my website,so the user don't need to login again when they reopened their broswer.
Id #2545 | Release:
| Updated: Dec 21, 2015 at 3:36 AM by kinshines | Created: Dec 21, 2015 at 3:36 AM by kinshines
In Startup.cs I am using Lambdas to create an instance of my UserManager class:
app.CreatePerOwinContext(() => new IdentityContext("AuthDatabase"));
Id #2544 | Release:
| Updated: Dec 1, 2015 at 12:58 AM by SetTrend | Created: Dec 1, 2015 at 12:58 AM by SetTrend