{"action":"created","issue":{"url":"https://api.github.com/repos/brockallen/BrockAllen.MembershipReboot/issues/624","repository_url":"https://api.github.com/repos/brockallen/BrockAllen.MembershipReboot","labels_url":"https://api.github.com/repos/brockallen/BrockAllen.MembershipReboot/issues/624/labels{/name}","comments_url":"https://api.github.com/repos/brockallen/BrockAllen.MembershipReboot/issues/624/comments","events_url":"https://api.github.com/repos/brockallen/BrockAllen.MembershipReboot/issues/624/events","html_url":"https://github.com/brockallen/BrockAllen.MembershipReboot/issues/624","id":142555508,"number":624,"title":"Unable to make Password Change example work","user":{"login":"imonthercks","id":1477296,"avatar_url":"https://avatars.githubusercontent.com/u/1477296?v=3","gravatar_id":"","url":"https://api.github.com/users/imonthercks","html_url":"https://github.com/imonthercks","followers_url":"https://api.github.com/users/imonthercks/followers","following_url":"https://api.github.com/users/imonthercks/following{/other_user}","gists_url":"https://api.github.com/users/imonthercks/gists{/gist_id}","starred_url":"https://api.github.com/users/imonthercks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imonthercks/subscriptions","organizations_url":"https://api.github.com/users/imonthercks/orgs","repos_url":"https://api.github.com/users/imonthercks/repos","events_url":"https://api.github.com/users/imonthercks/events{/privacy}","received_events_url":"https://api.github.com/users/imonthercks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/brockallen/BrockAllen.MembershipReboot/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-22T05:54:57Z","updated_at":"2016-05-26T23:26:10Z","closed_at":null,"body":"I have been struggling to implement a password expiration and change scenario work with Membership Reboot.  I am using Membership Reboot in an MVC app relying on the MembershipReboot.Owin implementation.  I am also using RavenDB as a back-end store.\r\n\r\nI have based my current setup on the SingleTenantOwinSystemWeb example, and can see the AuthenticateWithUsernameOrEmail succeed.  In the SignIn call of the AuthorizationService I can see that it is issuing a Partial SignIn Token for an expired user, and I see an .AspNet.MembershipReboot.2fa cookie being created, however when the GET Action for the Change Password screen is hit, and it checks if User.HasUserID(), none of the identity/claims information that it issued on the Partial SignIn Token is present and HasUserID returns false.\r\n\r\nI am trying to understand where it would be loading the cookie in order to retrieve the UserID so that I can track down the issue.  Any insight into where I should be looking would be much appreciated.\r\n\r\nOn additional comment...  I did modify the PasswordChanged date manually in RavenDB in order to quickly test the expiration of a user account.  It did not appear to me that this would be an issue, but wanted to mention in case this had some bearing."},"comment":{"url":"https://api.github.com/repos/brockallen/BrockAllen.MembershipReboot/issues/comments/222022896","html_url":"https://github.com/brockallen/BrockAllen.MembershipReboot/issues/624#issuecomment-222022896","issue_url":"https://api.github.com/repos/brockallen/BrockAllen.MembershipReboot/issues/624","id":222022896,"user":{"login":"sevenzsu","id":16618539,"avatar_url":"https://avatars.githubusercontent.com/u/16618539?v=3","gravatar_id":"","url":"https://api.github.com/users/sevenzsu","html_url":"https://github.com/sevenzsu","followers_url":"https://api.github.com/users/sevenzsu/followers","following_url":"https://api.github.com/users/sevenzsu/following{/other_user}","gists_url":"https://api.github.com/users/sevenzsu/gists{/gist_id}","starred_url":"https://api.github.com/users/sevenzsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevenzsu/subscriptions","organizations_url":"https://api.github.com/users/sevenzsu/orgs","repos_url":"https://api.github.com/users/sevenzsu/repos","events_url":"https://api.github.com/users/sevenzsu/events{/privacy}","received_events_url":"https://api.github.com/users/sevenzsu/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T23:26:10Z","updated_at":"2016-05-26T23:26:10Z","body":"Having the same problem here. I have an method to create a user with temporary password(expired password) to force the user to change it the first time they login. IssuePartialSignInToken won't populate the user object and hence User.HasUserID() will failed in changepasswordcontroller. What is the best solution here? Could you make the IssuePartialSignInToken public virtual method like IssueToken so we can override it to authenticate the user?"}}
{"actor":{"display_login":"sevenzsu"}}