-
Notifications
You must be signed in to change notification settings - Fork 5
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
Magpie not able to handle users with slash (/) #171
Comments
@tlvu I would suggest that you upgrade Magpie to version |
@fmigneault can you show a screenshot of the "edit" view of your ESGF user where the admin can set permissions? It's the "edit" view that was not working for me, not these screens. |
Upgraded to docker image Created a user 'abc/def' Click on "Edit" button next to that "abc/def" user, that "edit" view as I reported earlier is still broken |
@tlvu |
@tlvu |
@fmigneault , @dbyrns since all the various OpenID external signin providers will store the username as url, meaning with I just want us to better communicate what features are still "work in progress" and what features are fully tested and operational. |
@tlvu When #118 will be completed, there will not be a need of this dummy user as the external user entry will point to a real user. The dummy user is a patched operation carried over from the beginning of this repo. You could manually had |
@fmigneault, by user I meant the human that will try to use Magpie, like myself, @huard and @moulab88. We were excited to see Magpie supporting so many external signin providers but turns out they do work but not completely, but just enough to give us false hope so we invested more time in them. Had we knew they are not completely finished and tested, we would probably have picked another option to try integrating the signin of JupyterHub with Magpie or contacted you earlier for help. I will ping you earlier next time we need any integration with Magpie. |
@moulab88 and I are working on issue Ouranosinc/pavics-sdi#58 to provide single sign-on between Magpie and JupyterHub and we found out that Magpie is not able to handle user name containing a slash (/).
We tried the External Signin Provider "PCMDI" with Magpie. We were able to authenticate but when we want to "edit" (as admin user) the newly added user, we got this link "https://lvu.ouranos.ca/magpie/ui/users/https://esgf-node.llnl.gov/esgf-idp/openid/DavidHuard_pcmdi/default" and the "Internal Server Error", see the 2 attached screenshots.
It is not because of the length of the username but because there is a slash (/) in the username. We have retried deleting that OpenId user and adding a new user called "abc/def" and same behavior again.
Worst, once there is at least one user with a slash, the page add user is also broken with the same "Internal Server Error" preventing new users to be added.
Reproduced with Magpie docker image
pavics/magpie:0.7.3
with this patch to fix the wrong ESGF OpenId provider url:The text was updated successfully, but these errors were encountered: