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

[ENG-6849][ENG-6865] Update project overview files widget; auto close window upon oauth completion #10898

Conversation

adlius
Copy link
Collaborator

@adlius adlius commented Jan 8, 2025

Purpose

Changes

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

@adlius adlius changed the title [ENG-6849][ENG-6007] Update project overview files widget; auto close window upon oauth completion [ENG-6849][ENG-6865] Update project overview files widget; auto close window upon oauth completion Jan 8, 2025
Copy link
Collaborator

@brianjgeiger brianjgeiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question, otherwise looks great.

@@ -54,7 +54,7 @@ def oauth_callback(service_name, auth):
_forward_to_addon_service('oauth1')
elif provider._oauth_version == 2:
_forward_to_addon_service('oauth2')
return {}
return {'enable_gv': True}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this return the actual value of the waffle flag?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could, but on line 52 it is already checking if the flag is active, so at this point the waffle flag value would always be True.

@adlius adlius merged commit f79087d into CenterForOpenScience:feature/gravy_valet_integration Jan 9, 2025
6 checks passed
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.

2 participants