Globus Connect Server Session Consent
Description
The globus-connect-server session consent command updates the current login session by initiating a Globus Auth authorization flow which prompts for consent for SCOPES which in turn grants globus-connect-server the ability to perform additional privileged operations with the current endpoint. Typically, there is no need to run this command directly; if an operation requires additional consents, globus-connect-server will display the correct syntax to run this command.
When you run this command, it will either display a URL to log in with auth, or open your web browser to the authentication page. After completing the requested authentications, if you followed the link manually, paste the Native App Authorization Code value into the terminal to complete the login.
Example
$ globus-connect-server session consent urn:globus:auth:scope:4d5ccf69-53e2-4ac3-8423-47d66f5287b5:manage_collections Please authenticate with Globus here: ------------------------------------ https://auth.globus.org/v2/oauth2/authorize?client_id=a6dd2f22-0306-4e92-8ea7-392ebae9fb23&redirect_uri=https%3A%2F%2Fauth.globus.org%2Fv2%2Fweb%2Fauth-code&scope=urn%3Aglobus%3Aauth%3Ascope%3A4d5ccf69-53e2-4ac3-8423-47d66f5287b5%3Amanage_collections&state=_default&response_type=code&access_type=offline&prompt=login ------------------------------------ Enter the resulting Authorization Code here: qv5U30m6nJWyS82zLd4OQhUZrQ1GoA You have successfully updated your session.