This project is read-only.

Make Rfc6238AuthenticationService and SecurityToken public

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: None | Updated: Oct 26, 2016 at 2:44 PM by Misiu | Created: Oct 26, 2016 at 2:44 PM by Misiu

Cookie authnetication not working on IIS 8.5

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: None | Updated: Oct 3, 2016 at 11:00 PM by scheelings | Created: Oct 3, 2016 at 11:11 AM by scheelings

SignInManager.HasBeenVerifiedAsync always returns true when TKey is type "int"

When the TKey for a user identity is set to "int" code in the SignInManager fails. The two methods in SignInManager that fail are: SendTwoFactorCodeAsync(...) This method will always send a two f...

Id #2555 | Release: None | Updated: Nov 28 at 8:28 AM by HaoK | Created: Sep 27, 2016 at 10:54 AM by DonaldF

Invalidate old Authentication cookie

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: None | Updated: Jun 22, 2016 at 6:02 PM by dpmragu | Created: Jun 22, 2016 at 6:02 PM by dpmragu

SecurityStamp value is not updated in the database

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: None | Updated: Jun 22, 2016 at 6:00 PM by dpmragu | Created: Jun 22, 2016 at 6:00 PM by dpmragu

ValidateEntity should use same where as UserStore

UserStore has public virtual Task<TUser> FindByEmailAsync(string email) { this.ThrowIfDisposed(); return this.GetUserAggregateAsync((Expression<Func<TUser, bool>>) (u => u.Email.ToUpper() == e...

Id #2551 | Release: None | Updated: May 18, 2016 at 8:01 PM by jonnybee | Created: May 18, 2016 at 8:01 PM by jonnybee

PasswordHasher SuccessRehashNeeded ignored

Background IPasswordHasher.VerifyHashedPassword returns one of three values: Success, SuccessRehashNeeded, Failed. SuccessRehashNeeded is used to indicate "the password was successfully verified...

Id #2550 | Release: None | Updated: Apr 13, 2016 at 10:17 PM by bdorrans | Created: Apr 11, 2016 at 8:30 AM by MattCole_LiveHire

UpdateAsync/DeleteAsync how use?

How use UpdateAsync/DeleteAsync? ApplicationDbContext context .... var userManager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(context)); var roleManager = new...

Id #2549 | Release: None | Updated: Mar 29, 2016 at 7:50 AM by SanterR | Created: Mar 29, 2016 at 7:50 AM by SanterR

How to persist the login information after closing Broswer?

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: None | Updated: Dec 21, 2015 at 3:36 AM by kinshines | Created: Dec 21, 2015 at 3:36 AM by kinshines

Callbacks in CreatePerOwinContext() never called - what's wrong?

In Startup.cs I am using Lambdas to create an instance of my UserManager class: app.CreatePerOwinContext(() => new IdentityContext("AuthDatabase")); app.CreatePerOwinContext((IdentityFactoryOptions...

Id #2544 | Release: None | Updated: Dec 1, 2015 at 12:58 AM by SetTrend | Created: Dec 1, 2015 at 12:58 AM by SetTrend