payload: {"action":"created","issue":{"url":"https://api.github.com/repos/auth0/lock/issues/1719","repository_url":"https://api.github.com/repos/auth0/lock","labels_url":"https://api.github.com/repos/auth0/lock/issues/1719/labels{/name}","comments_url":"https://api.github.com/repos/auth0/lock/issues/1719/comments","events_url":"https://api.github.com/repos/auth0/lock/issues/1719/events","html_url":"https://github.com/auth0/lock/issues/1719","id":484246494,"node_id":"MDU6SXNzdWU0ODQyNDY0OTQ=","number":1719,"title":"`password_expired` error during login is not being mapped to `password_change_required`","user":{"login":"xiananfan","id":26611670,"node_id":"MDQ6VXNlcjI2NjExNjcw","avatar_url":"https://avatars0.githubusercontent.com/u/26611670?v=4","gravatar_id":"","url":"https://api.github.com/users/xiananfan","html_url":"https://github.com/xiananfan","followers_url":"https://api.github.com/users/xiananfan/followers","following_url":"https://api.github.com/users/xiananfan/following{/other_user}","gists_url":"https://api.github.com/users/xiananfan/gists{/gist_id}","starred_url":"https://api.github.com/users/xiananfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiananfan/subscriptions","organizations_url":"https://api.github.com/users/xiananfan/orgs","repos_url":"https://api.github.com/users/xiananfan/repos","events_url":"https://api.github.com/users/xiananfan/events{/privacy}","received_events_url":"https://api.github.com/users/xiananfan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2019-08-22T22:32:02Z","updated_at":"2019-09-05T00:22:14Z","closed_at":null,"author_association":"NONE","body":"**Thank you for using Lock!**\r\n\r\nIn order to efficiently and accurately address your issue or feature request, please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. Please delete any sections or questions below that do not pertain to this request.\r\n\r\nFor general support or usage questions, please use the [Auth0 Community](https://community.auth0.com/) or [Auth0 Support](https://support.auth0.com.).\r\n\r\n### Description\r\n\r\nDescription of the bug or feature request and why it's a problem. Consider including:\r\n\r\n- The use case or overall problem you're trying to solve\r\n- Information about when the problem started\r\n\r\nHi Auth0 team,\r\n\r\nWe are using AD connector on a windows server to talk to our Active Directory. And we have a 90 days password expired policy. When a user's password is expired, the lock widget displays an unclear message: \"We're sorry, something went wrong when attempting to log in.\"\r\n\r\nAfter looking into the code [here](https://github.com/auth0/lock/blob/fb4948c38808e8ef900deb393840f76090ff4864/src/i18n/en.js#L13), it seems like the lock is using the message for \"lock.fallback\", it probably should be displaying the message for \"password_change_required\".\r\n\r\nWhen looking at this [method](https://github.com/auth0/lock/blob/master/src/core/index.js#L497), it does not map any message for \"password expired\", as a result, it will display \"lock.fallback\" message. Please check for password expired error as well, and display the correct message.\r\n\r\nThanks,\r\nXianan\r\n\r\n### Prerequisites\r\n\r\n* [x] I have read the [Auth0 general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)\r\n* [x] I have read the [Auth0 Code of Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)\r\n* [x] Did you check the documentation in the [README](https://github.com/auth0/lock) or on [our docs site](https://auth0.com/docs/libraries/lock/v11)?\r\n* [x] Did you check the [Auth0 Community](https://community.auth0.com/)?\r\n* [x] Are you reporting this to the correct repository?\r\n* [x] Are there any related or duplicate [Issues](https://github.com/auth0/lock/issues) or [PRs](https://github.com/auth0/lock/pulls) for this issue?\r\n\r\n### Environment\r\n\r\nPlease provide the following:\r\n\r\n* Lock version: 11.16.0\r\n* Browser version: Chrome 76.0.3809.100 \r\n* OS: MacOS 10.14.6\r\n* Additional extensions/libraries that might be affecting your instance:\r\n\r\n### Reproduction\r\n\r\nDetail the steps taken to reproduce this error and note if this issue can be reproduced consistently or if it is intermittent.\r\n\r\nPlease include:\r\n\r\n- Code snippet or sample project that reproduces the bug\r\n- Application settings (redact/remove sensitive information)\r\n- Screenshots, if helpful\r\n\r\nlog in AD connector showing password expired:\r\n![password expired log](https://user-images.githubusercontent.com/26611670/63554229-bf783780-c4f1-11e9-87e9-16bb9516935a.png)\r\n\r\nlog in auth0 appliance:\r\n![password expired auth0 appliance log](https://user-images.githubusercontent.com/26611670/63554264-dae34280-c4f1-11e9-9ac9-a1c75ad754e1.png)\r\n\r\nmessage displayed on lock widget:\r\n![password expired message](https://user-images.githubusercontent.com/26611670/63554241-ce5eea00-c4f1-11e9-8c8e-9fa5b68da0e2.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/auth0/lock/issues/comments/528143370","html_url":"https://github.com/auth0/lock/issues/1719#issuecomment-528143370","issue_url":"https://api.github.com/repos/auth0/lock/issues/1719","id":528143370,"node_id":"MDEyOklzc3VlQ29tbWVudDUyODE0MzM3MA==","user":{"login":"xiananfan","id":26611670,"node_id":"MDQ6VXNlcjI2NjExNjcw","avatar_url":"https://avatars0.githubusercontent.com/u/26611670?v=4","gravatar_id":"","url":"https://api.github.com/users/xiananfan","html_url":"https://github.com/xiananfan","followers_url":"https://api.github.com/users/xiananfan/followers","following_url":"https://api.github.com/users/xiananfan/following{/other_user}","gists_url":"https://api.github.com/users/xiananfan/gists{/gist_id}","starred_url":"https://api.github.com/users/xiananfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiananfan/subscriptions","organizations_url":"https://api.github.com/users/xiananfan/orgs","repos_url":"https://api.github.com/users/xiananfan/repos","events_url":"https://api.github.com/users/xiananfan/events{/privacy}","received_events_url":"https://api.github.com/users/xiananfan/received_events","type":"User","site_admin":false},"created_at":"2019-09-05T00:22:14Z","updated_at":"2019-09-05T00:22:14Z","author_association":"NONE","body":"@luisrudge I think the `password_change_required` right now is only mapped to the error when the user's password has never been set. I think if you revise the message, and remove the `, or because your password has expired.`, it would be clearer. Then you can to create another message dedicated to 'password_expired', and each message will be shorter and clearer."}}
other: {"actor":{"display_login":"xiananfan"}}