feishu-auth-token-bootstrap

Manage Feishu OAuth authorization and refresh_token initialization.

6|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/yibo188/lark-feishu-backup --skill feishu-auth-token-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feishu-auth-token-bootstrap
Source: https://github.com/yibo188/lark-feishu-backup/tree/main/skills/feishu-auth-token-bootstrap
Command: npx skills add https://github.com/yibo188/lark-feishu-backup --skill feishu-auth-token-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of obtaining, managing, and validating Feishu OAuth refresh_tokens, ensuring uninterrupted access to Feishu services and preventing data backup failures due to token issues.

Core Features & Use Cases

  • Initial Token Acquisition: Guides users through the OAuth flow to generate the initial refresh_token.
  • Token Refresh & Validation: Handles scenarios where refresh_tokens expire or become invalid, guiding users to re-authorize.
  • Configuration Check: Verifies essential application settings like APP_ID, APP_SECRET, and REDIRECT_URI for successful authorization.
  • Use Case: When your Feishu backup script fails with a token error, this Skill helps you quickly resolve it by re-authenticating and generating a new, valid token.

Quick Start

Use the feishu-auth-token-bootstrap skill to generate a new refresh token by following the authorization link and pasting the callback URL.

Frequently Asked Questions about feishu-auth-token-bootstrap

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

FAQPage Schema
How do I get a new Feishu OAuth refresh token when my backup script fails?

To get a new Feishu OAuth refresh token, you follow the authorization link, complete the OAuth flow, and paste the callback URL to initialize a valid token for your backup script.

What should I do if my Feishu refresh_token is expired or invalid?

If your Feishu refresh_token is expired or invalid, you need to re-authorize through the OAuth flow to reset the token and restore uninterrupted API access.

How do I fix a missing or malformed token_store.json file in Feishu API integration?

To fix a malformed token_store.json file, you must validate its integrity and re-initialize the token store by completing the OAuth callback exchange process.

Do I need specific app credentials to authenticate with the Feishu OAuth API?

Yes, you need to verify essential Feishu application settings like APP_ID, APP_SECRET, and REDIRECT_URI to successfully complete OAuth authorization and obtain tokens.

How does callback URL parsing work when exchanging a code for a Feishu OAuth token?

Callback URL parsing extracts the authorization code from the redirect URL, which is then exchanged to initialize and store your Feishu refresh_token locally.

Why does my Feishu authorization fail when requesting API access?

Feishu authorization fails when application settings like APP_ID or APP_SECRET are incorrect, or when the token_store.json file lacks integrity, requiring validation and re-authorization.