Skip to content

Conversation

@derek-globus
Copy link
Owner

@derek-globus derek-globus commented Oct 22, 2025

What?

  • Add a new optional parameter --scope to globus session update which defines additional scopes to request when running the user through a login flow.
  • Update globus flows start <flow_id> to always include the flow scope in remediating resolution globus session update command.

Why?

In the current cli, globus flows start <flow_id> recommends using globus session update with exclusively the attached policy id from the api-returned GARE. This command doesn't function as expected however because of how flows operate as individual resource servers.

Inserting the scope can allow remediation login commands recommendations to ensure that any a user login will return scoped tokens not just for statically known resource servers, but also any dynamically discovered ones.

Testing

image

@derek-globus derek-globus force-pushed the session-update-more-stuff branch 2 times, most recently from c168688 to 64249a7 Compare October 23, 2025 18:03
@derek-globus
Copy link
Owner Author

Target branch has been merged into globus-cli/main.

Closing out this PR in favor of globus#1198

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