Skip to content

Introduce GlobusApp.logout(sweep=True) - #1415

Merged
sirosen merged 1 commit into
globus:mainfrom
sirosen:logout-sweep
Aug 6, 2026
Merged

Introduce GlobusApp.logout(sweep=True)#1415
sirosen merged 1 commit into
globus:mainfrom
sirosen:logout-sweep

Conversation

@sirosen

@sirosen sirosen commented Aug 6, 2026

Copy link
Copy Markdown
Member

This new flag codifies how to clear all tokens for services currently
registered with the app (typically via clients).

Comment thread src/globus_sdk/globus_app/app.py Outdated
return False

def logout(self) -> None:
# TODO: sweep should default to True in globus-sdk v5+

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This isn't the right way to document that intention imo.

There's an epic here where we're accumulating v5 plans.


As I mentioned in slack, I separately don't actually think we should do this. But if you want to discuss the idea, could you create a story there instead of a TODO here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Sorry, yes, that comment was written contemporaneously with our conversation. Let me remove it.

I'm not going to create other tracking, since I think it needs some amount of further discussion first.

This new flag codifies how to clear all tokens for services currently
registered with the app (typically via clients).
@sirosen
sirosen merged commit a3aed17 into globus:main Aug 6, 2026
2 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