Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/globus_sdk/globus_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,13 @@ def scope_requirements(self) -> dict[str, list[Scope]]:

Modifying the returned dict will not affect the app's scope requirements.
To add scope requirements, use ``GlobusApp.add_scope_requirements()``.

.. note::

Users may observe that Globus Auth (``'auth.globus.org'``) is always
present, and always maps to the ``openid`` scope, even when the user has
not added this scope. This mapping is expected, as the ``openid`` scope is
needed internally for the functionality provided by ``GlobusApp``.
"""
# Scopes are mutable objects so we return a deepcopy
return copy.deepcopy(self._scope_requirements)
Expand Down