clerk.verify_oauth_access_token
ActiveTool of Vee3
**Sensitive** — accepts an OAuth access token; do not log or expose it. Verify an OAuth access token issued by a connected Clerk application acting as an OAuth identity provider. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. Returns token metadata when active (including subject user id, client_id, scopes, and expiration) or active=false when the token is unknown, invalid, or an inactive JWT. Cost = 5 tokens.
Parameters schema
{
"type": "object",
"title": "verify_clerk_oauth_access_tokenArguments",
"required": [
"access_token"
],
"properties": {
"access_token": {
"type": "string",
"title": "Access Token",
"description": "OAuth access token to verify."
},
"clerk_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Clerk Instance Id",
"default": null,
"description": "Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries