Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request / reset PIN for proxy or paid accounts #47

Closed
cbeer opened this issue Jul 10, 2019 · 1 comment
Closed

Request / reset PIN for proxy or paid accounts #47

cbeer opened this issue Jul 10, 2019 · 1 comment
Assignees

Comments

@cbeer
Copy link
Member

cbeer commented Jul 10, 2019

Follow-on to #12.

If the user needs to reset (or set?) their PIN for some reason, they will provide their library ID number. We can use the user/patron/resetMyPin API to trigger a reset workflow.

Q: Presumably only non-webauthID users can reset their PINs?
Q: The API docs suggest that the email address might be required to have Symphony send out the email?
Q: Is the result of resetMyPin a new PIN, or a link into Symphony to reset the PIN (and, do we want to handle that in MyAccount?)

Links

From the home page
Screen Shot 2019-07-10 at 07 32 51

From the login page
Screen Shot 2019-07-10 at 07 34 52

Form:

Screen Shot 2019-07-10 at 07 32 55

Flash message

After making the symphony API request (regardless of success/failure, assuming e.g. Symphony cares whether the user exists or not)
Screen Shot 2019-07-10 at 07 33 01

@mejackreed
Copy link
Contributor

@camillevilla @jvine while implementing this, we discovered that we need to provide a reset link that will be emailed out to end users. For now we can't figure out how that URL is crafted in current myaccount. That being said, we will likely need to implement a "Change my PIN" page in MyLibrary that uses the reset token emailed and /user/patron/changeMyPin to update the user's pin. Split out to #149

@cbeer cbeer closed this as completed in 8bc2728 Jul 17, 2019
cbeer added a commit that referenced this issue Jul 17, 2019
Setup reset/request PIN pages and workflow fixes #47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants