Clerk icon

Clerk

A custom node in n8n for Clerk.dev allows you to automate interactions with Clerk’s APIs directly within your workflows

User API → Get User OAuth Access Token

AI-generated

Summary

Retrieve an OAuth access token for a specified user from a defined OAuth provider.

Inputs

  • userId (required) — The ID of the user to fetch.
  • provider — The OAuth provider for the user, defaults to 'google'.

Output shape

a JSON object containing the OAuth access token for the specified user.

Ensure the user ID is valid and the OAuth provider is supported. The response includes the access token and may contain additional details based on the provider.

Discussion