-
Notifications
You must be signed in to change notification settings - Fork 498
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
Shibboleth: Convert account page fails due to password validation. #3045
Comments
Huh. Good catch @kcondon. I just tried on dataverse-internal (after first verifying the username and password are good by logging in via non-Shib) and got this:
This was working recently since @eaquigley was able to grab screenshots for #2975. Soon, I'll try this on my laptop and on shibtest. |
I just verified this bug on https://shibtest.dataverse.org running v. 4.3 build 4-origin/2939-shib-78ef2c1 I must have introduced a regression while refactoring code to make it more testable. My guess is that my API tests still work but I'll confirm either way once I'm in the code to fix the bug. |
Also fix integration tests to fail appropriately.
@kcondon as we discussed 643e455 has a bug fix for a regression I introduced at 7915bf5 when I attempted to internationalize some of the strings in BuiltinAuthenticationProvider. Maybe @michbarsinai can advise us on the state of the code after 7915bf5 and how he envisions BuiltinAuthenticationProvider being internationalized. @kcondon suggests that maybe this should go in a separate issue, which isn't a bad idea. It may come up on its own as @scolapasta coordinates internationalization efforts in #209. Or maybe it's all a non-issue. I'm really not sure. Anyway, the Shib bug should be fixed. Passing to QA. |
Works, closing. |
- Put email addresses throught the same "find single value" logic originally developed in #1608 for multiple first and last names. - Add `@ValidateEmail` to the "email" field on AuthenticatedUser to match BuiltinUser. - Add null check added to EmailValidator to make it testable. - Add `INVALID_EMAIL` and `MISSING_REQUIRED_ATTR` modes for Shib testing in dev. - Remove red warning when TestShib doesn't provide "mail" attribute. - Catch authSvc.createAuthenticatedUser exceptions and handle errors better. - Reformat code (getPrettyFacesHomePageString seems ok).
While testing account conversion found it would not accept a valid password.
The text was updated successfully, but these errors were encountered: