Type identifier:
auth:oauth:getAccessTokenCategory: Auth Operations
Gets an OAuth access token for a configured OAuth credential. The token is automatically refreshed when needed and returned as a wrapped secret value.
This node has no input handles.
Handle | Data Type | Description |
|---|---|---|
|
| OAuth access token wrapped as a secret value |
Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
| Yes |
| Display label for the node |
|
| Yes |
| OAuth credential to resolve and refresh |
oauthCredentialId.accessToken as a secret value.Flow Error Code | Meaning |
|---|---|
| Credential does not exist or was removed |
| Credential is not authorised or is missing required data. Re-authorise the credential. |
| Refresh token is invalid or expired, or the refresh failed. Re-authorise the credential. |
| Generic token retrieval failure |
{
"type": "auth:oauth:getAccessToken",
"data": {
"label": "OAuth - Get Access Token",
"oauthCredentialId": "cm123exampleoauthcredentialid"
}
}