Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
Merge pull request #552 from whole-tale/remove-unused-scope
Browse files Browse the repository at this point in the history
Remove unused Globus scope to overcome ORCID 500
  • Loading branch information
Xarthisius authored Aug 31, 2022
2 parents 7a88446 + ae959d2 commit 1bce771
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,9 @@ def store_other_globus_tokens(event):

def load(info):
from girder.plugins.oauth.providers.globus import Globus

# Remove unnecessary scope https://github.com/whole-tale/girder_wholetale/issues/534
Globus._AUTH_SCOPES.remove("urn:globus:auth:scope:auth.globus.org:view_identities")
deriva_scopes = Setting().get(PluginSettings.DERIVA_SCOPES)
Globus.addScopes(list(deriva_scopes.values()))
info['apiRoot'].wholetale = wholeTale()
Expand Down

0 comments on commit 1bce771

Please sign in to comment.