Usage
Prerequisites
You must be logged in first. Runtoolshed login if you haven’t already.
How it works
- The CLI reads your config from
~/.toolshed/config.jsonto get your user ID and server URL - Starts a temporary local HTTP server on a random port
- Opens your browser to the server’s OAuth login endpoint for the chosen provider
- The server runs the standard OAuth2 flow (with PKCE where supported)
- After you authorize in the provider’s UI, the server stores encrypted tokens and redirects back to the CLI
- The CLI confirms the connection and exits
Example
Checking connections
Usetoolshed status to see which providers are connected:
Provider details
See OAuth Setup for server-side configuration requirements.