openid_connect_token
Exchange an OAuth authorization code or refresh token for a Slack user access token, enabling authentication via Sign in with Slack.
Instructions
Exchange a temporary OAuth code for an access token for Sign in with Slack.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | The temporary authorization code returned via the OAuth redirect. | |
| client_id | Yes | Issued client ID for your Slack app. | |
| grant_type | No | The grant type: ``authorization_code`` (default) or ``refresh_token``. | |
| redirect_uri | No | Redirect URI used in the initial authorization request; must match exactly. | |
| client_secret | Yes | Issued client secret for your Slack app. | |
| code_verifier | No | The PKCE code verifier, when the authorization request used PKCE. | |
| refresh_token | No | The refresh token, used when ``grant_type`` is ``refresh_token``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||