Can't Log in After Changing Username/User ID
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Attachments
- 18 Jul 2017, 02:07 PM
- 18 Jul 2017, 11:47 AM
blocks
relates to
Checklist
hideTestRail: Results
Activity
Charlotte Whitt October 3, 2017 at 10:28 PM
Manual test in FOLIO testhttp://folio-testing.aws.indexdata.com/ version @folio/users 2.10.100013, using Chrome.
All looks good (step 1-8). I'll close the issue as done.
Charlotte Whitt October 2, 2017 at 4:25 PM
Manual test in FOLIO test http://folio-testing.aws.indexdata.com/ version @folio/users 2.10.100010, using Chrome
Overview: I was not able to get this done, due to missing data in the user record when in edit mode. Missing e.g.: Username, First name, Middle name, Last name, email, phone, mobile pone, barcode, FOLIO record number, and External system Id. I have filed a bug https://folio-org.atlassian.net/browse/UIU-247#icft=UIU-247 and will come back to this issue later.
Kurt Nordstrom September 25, 2017 at 3:31 PM
I have tried this on folio-testing, and it works successfully for me.
Jakub Skoczen September 25, 2017 at 1:46 PM
To be reviewed on folio-testing.
Niels Erik Nielsen September 7, 2017 at 4:16 PM
Was wondering about that too and thought that it seems pretty straightforward to just append it to your current script?
Overview: Users do sometimes change their usernames. It is possible to change the User ID field in FOLIO but when you try to log in with that new User ID, it won't let you in.
Steps to repro:
Log into folio-testing as diku_admin
Create a new user and supply them a User ID and password
Log out and log in as your new user
Note that that works just fine
Now log out and log in as diku_admin
Change the User ID for your new user
Log out
Attempt log in with modified User ID
Expected: Should be able to log in (and any previously assigned permissions should be retained, of course)
Actual: Can't log in. Get "Sorry, the information entered does not match our records!" message. Also, when I log in as diku_admin and try to view the user's profile I get a FETCH error (see attached screenshot).
Additional Info: Also cannot log in with the old User ID BUT, if you change the username back to the original User ID, you can log in again.