-
Notifications
You must be signed in to change notification settings - Fork 11
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
Refactor auth logic #349
base: main
Are you sure you want to change the base?
Refactor auth logic #349
Conversation
43457af
to
1aa459e
Compare
I've tried to do a preliminary code change here to address #338 and #339. However, the code in this pull request unfortunately results in
To @golaz's point in #339, the Globus authentication process has really impacted zstash's usability. We should address it before the next E3SM Unified release. Examples of impacts:
The two biggest problems at the moment seem to be:
|
My main recommendation is completely getting rid of fair_research_login; also, the test tests/test_globus.py seems to be independent of zstash/globus.py, which means changing one isn't necessarily going to be reflected in the other. I am misreading this? If my understanding is correct, the test has to be updated, right? The fair_research_login stuff seems to still be in use here: |
Additionally, once you get rid of fair_research_login, be sure to relax the constraint on the globus sdk: Line 25 in 1aa459e
|
Yes, the test function Details, going through the test code:
|
Issue resolution
Select one: This pull request is...
1. Does this do what we want it to do?
Objectives:
Required:
If applicable:
2. Are the implementation details accurate & efficient?
Required:
If applicable:
zstash/conda
, not just animport
statement.3. Is this well documented?
Required:
4. Is this code clean?
Required:
If applicable: