capabilities.work

Exchange a device user code for a grant

One step with Appwrite. We can help you get access.

Get something done

Exchange a device user code for a grant

Works with AI assistants

Use Appwrite: its Appwrite Oauth2 API lets you exchange a device user code for a grant in a single step (POST /oauth2/{project_id}/grants). Appwrite also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • What happens after a user types the device code shown on their TV?
  • How is the signed-in user bound to a pending device grant?
Say it to your AI assistant
  • Redeem device user code {user_code} in project {project_id}.
  • Bind my session to the pending device grant for code {user_code}, project {project_id}.
For your developer

POST /oauth2/{project_id}/grants in Appwrite Oauth2 API. Full spec on APIs.io.