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

added username to logon_with_openid to script CEDA access more easily #53

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cojacoo
Copy link

@cojacoo cojacoo commented Dec 20, 2019

Hi,
Thank you so much for this package. I ran quite sometimes into a minor issue with the logon function when CEDA actually required a username but self._get_logon_details(openid) would not provide them.
I suggest a very small change to allow for explicit username provision to the logon_with_openid function. If left empty, everything will work as before. If provided, the username is propagated to the logon function. This fix solves the issue for me.
All the best.
Conrad

@agstephens
Copy link
Contributor

Hi @cojacoo , the change looks fine but I would rather we had an extra unit test or two to support it. Could you add the test(s) and include them in the Pull Request? Many thanks

@cehbrecht cehbrecht marked this pull request as draft February 4, 2021 13:25
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

Successfully merging this pull request may close these issues.

None yet

2 participants