bytedance-jwt

Retrieve ByteDance JWT tokens via byte-cli with cookie or SSO fallback.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/itsuki0927/opencode --skill bytedance-jwt
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bytedance-jwt
Source: https://github.com/itsuki0927/opencode/tree/main/skills/bytedance-jwt
Command: npx skills add https://github.com/itsuki0927/opencode --skill bytedance-jwt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ByteDance authentication and JWT retrieval can be complex due to reliance on Chrome cookies or SSO device codes. This skill automates obtaining a ByteDance JWT token across multiple regions, reducing manual steps and login overhead.

Core Features & Use Cases

  • Multi-region JWT retrieval using byte-cli with fallback from Chrome cookies to SSO device code.
  • Region support including cn (default), boe, i18n-tt, i18n-bd, eu-ttp, us-ttp, enabling seamless JWT access across environments.
  • Guided installation and usage with token caching for subsequent requests, improving automation reliability.

Quick Start

Fetch a ByteDance JWT token for region cn using byte-cli.

Frequently Asked Questions about bytedance-jwt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a ByteDance JWT token across different regions?▼

ByteDance JWT token retrieval across regions uses byte-cli with region configuration for cn, boe, i18n-tt, i18n-bd, eu-ttp, or us-ttp. It prefers Chrome cookies and falls back to SSO device-code flow, caching tokens to streamline subsequent authenticated requests.

What is the best way to automate ByteDance authentication for multiple environments?▼

Automating ByteDance authentication across environments is best handled by retrieving JWT tokens via byte-cli with token caching. This mechanism supports region management and SSO fallback, reducing manual login overhead and improving automation reliability for development and operations workflows.

Do I need byte-cli installed to retrieve ByteDance SSO tokens?▼

Yes, byte-cli installation and region configuration are required to retrieve ByteDance SSO tokens. The Skill relies on byte-cli to handle the authentication flow, manage Chrome cookies availability, and execute the SSO device-code fallback for JWT retrieval.

Why does JWT token retrieval fail when Chrome cookies are unavailable?▼

JWT token retrieval fails when Chrome cookies are unavailable if the SSO device-code flow is not properly configured. The system prefers Chrome cookies first, falling back to the SSO device-code authentication flow only when cookies cannot be accessed or are invalid.

Can I use this Skill to fetch JWT tokens for the eu-ttp and us-ttp regions?▼

Yes, you can fetch JWT tokens for eu-ttp and us-ttp regions. The Skill supports multi-region JWT retrieval using byte-cli, explicitly covering cn, boe, i18n-tt, i18n-bd, eu-ttp, and us-ttp, enabling seamless authenticated access across these global environments.