Problem with Shibboleth login

44 views
Skip to first unread message

joe chow

unread,
Jun 3, 2022, 6:05:25 AM6/3/22
to Dataverse Users Community
Hi everyone,

I am working on a test with Shibboleth login with Dataverse v5.5 and there is an issue in creating the account after login via Shibboleth.
When I create a builtin account with username test_user, and then login via Shibboleth using test_user@testemail, after clicking the create account button, it can create an account for the Shibboleth user with username test_user1. 
However, when I create 2 builtin accounts with username test_user and test_user1, and then login via Shibboleth using test_user@testemail and click the create account button, it keeps loading and cannot create a new account. I checked AuthenticationServiceBean.java(v5.5), and it seems that it loops in the while loop in from line 635 to line 637. Is it a normal situation?

Thanks,
Joe

James Myers

unread,
Jun 3, 2022, 6:50:53 AM6/3/22
to dataverse...@googlegroups.com

Joe,

- Looks like a simple bug that still exists at https://github.com/IQSS/dataverse/blob/4947992656db4bb1b4da5ce3d33c0f16146176e2/src/main/java/edu/harvard/iq/dataverse/authorization/AuthenticationServiceBean.java#L624-L627 – the loop should be incrementing i and then updating the identifier as well, but identifier isn’t being updated so it keeps checking for, in your case, test_user1 forever.  It would be useful if you can submit a bug report at https://github.com/IQSS/dataverse and feel free to add a pull request if you want to make the change yourself.

 

-- Jim

--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dataverse-community/7bea1d62-b746-4402-a621-4a558c20766cn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages