Skip to main content

Arguments

Output

Started, the code the person enters and where: user_code, verification_url, interval, expires_at and device_code. Polled with device_code, its status, and once approved the new API key with its secret, shown once.
  • Call it without device_code to get verification_url and user_code. Give both to the person, who opens the link on any device, signs in and approves.
  • Then call it again with device_code every interval seconds. It returns status pending until they approve, then the API key, once.
  • Send the key as the Authorization: Bearer header of this MCP’s signed-in URL (for a keyless connection, its URL without /keyless). It works on every Pomerado MCP and the REST API.
  • Never ask the person for a password.
Effect: May change a website or your account.