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, 2016 at 1:44 PM by Misiu | Created: Oct 26, 2016 at 1: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, 2016 at 10:00 PM by scheelings | Created: Oct 3, 2016 at 10: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, 2016 at 8:08 PM by bdorrans | Created: Sep 27, 2016 at 9: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, 2016 at 5:02 PM by dpmragu | Created: Jun 22, 2016 at 5: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, 2016 at 5:00 PM by dpmragu | Created: Jun 22, 2016 at 5: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, 2016 at 7:01 PM by jonnybee | Created: May 18, 2016 at 7: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, 2016 at 9:17 PM by bdorrans | Created: Apr 11, 2016 at 7: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, 2016 at 6:50 AM by SanterR | Created: Mar 29, 2016 at 6: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 2:36 AM by kinshines | Created: Dec 21, 2015 at 2: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: Nov 30, 2015 at 11:58 PM by SetTrend | Created: Nov 30, 2015 at 11:58 PM by SetTrend