Starts the Slack OAuth 2.0 authentication flow with PKCE protection. This endpoint creates an OAuth session and returns a Slack authorization URL that the client should open in a browser.
Localhost URL where the CLI is listening for the OAuth callback.Format: Must be a valid URL (e.g., http://127.0.0.1:56789/callback)Usage: The API will redirect the browser to this URL after successful Slack authentication, appending code and state query parameters.
Slack OAuth authorization URL. Open this URL in the user’s browser to begin authentication.Format: https://slack.com/openid/connect/authorize?response_type=code&client_id=...&scope=openid+profile+email&state=...&redirect_uri=...
OAuth state parameter for CSRF protection. The CLI should verify this matches the state received in the callback.Format: 24-byte base64url-encoded random string (32 characters)Expiration: 10 minutes from creation
The OAuth session expires after 10 minutes. Ensure the user completes the Slack authorization and the CLI exchanges the login code within this timeframe.