Skip to content

Commit

Permalink
Document auto-login disabling (#1127)
Browse files Browse the repository at this point in the history
  • Loading branch information
derek-globus authored Jan 14, 2025
1 parent 12497e4 commit 1a33571
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions changelog.d/20250114_150601_derek_fix_app_config_doc_ivar.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

Documentation
~~~~~~~~~~~~~

- Updated GlobusAppConfig docs to explain how to disable auto-login. (:pr:`NUMBER`)

5 changes: 3 additions & 2 deletions src/globus_sdk/globus_app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ class GlobusAppConfig:
Explicit values must be pre-registered on your client
`here <https://app.globus.org/settings/developers>`_.
:ivar ``TokenValidationErrorHandler`` token_validation_error_handler: A handler
invoked to resolve errors raised during token validation.
:ivar ``TokenValidationErrorHandler`` | None token_validation_error_handler: A
handler invoked to resolve errors raised during token validation. Set this to
``None`` to disable auto-login on service token validation errors.
Default: ``resolve_by_login_flow`` (runs a login flow, storing the resulting
tokens).
Expand Down

0 comments on commit 1a33571

Please sign in to comment.