clerk.create_sign_in_token
ActiveTool of Vee3
Create a sign-in token for a user in a connected Clerk application. The token can be used once to sign the user in without credentials (magic-link style). **Sensitive** — the returned token is a high-privilege secret that grants sign-in access; do not log or expose it. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. Cost = 15 tokens.
Parameters schema
{
"type": "object",
"title": "create_clerk_sign_in_tokenArguments",
"required": [
"user_id"
],
"properties": {
"user_id": {
"type": "string",
"title": "User Id",
"description": "Clerk user id (user_...) to retrieve or modify."
},
"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."
},
"expires_in_seconds": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"title": "Expires In Seconds",
"default": null,
"description": "Token lifetime in seconds (minimum 1). Defaults to 2592000 (30 days)."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries