Skip to content

Update the auth management example scripts - #1417

Open
sirosen wants to merge 1 commit into
globus:mainfrom
sirosen:fix-auth-manage-example
Open

Update the auth management example scripts#1417
sirosen wants to merge 1 commit into
globus:mainfrom
sirosen:fix-auth-manage-example

Conversation

@sirosen

@sirosen sirosen commented Aug 8, 2026

Copy link
Copy Markdown
Member

These were written under globus-sdk v3 and had outdated imports.

Updating to use GlobusApp also allowed a dramatic simplification, as this example explained automatic login redriving without the use of auto_redrive_gares (because such a feature did not exist at time of writing).
Using GlobusApp for the login requirements of these scripts therefore allows us to reduce the example from 3 scripts to only 2.

These were written under globus-sdk v3 and had outdated imports. Updating
to use GlobusApp also allowed a dramatic simplification, as this example
explained automatic login redriving without the use of
`auto_redrive_gares` (because such a feature did not exist at time of
writing). Using GlobusApp for the login requirements of these scripts
therefore allows us to reduce the example from 3 scripts to only 2.
@sirosen sirosen added the no-news-is-good-news This change does not require a news file label Aug 8, 2026

@derek-globus derek-globus left a comment

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.

One nit

Comment on lines +14 to +15
globus_sdk.AuthClient.scopes.openid,
globus_sdk.AuthClient.scopes.email,

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.

nit: you don't need openid when you're using a GlobusApp, that gets included in every auth scope requirement list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-news-is-good-news This change does not require a news file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants