alfadocs-oauth-token-refresh

Official

Refresh AlfaDocs tokens without breaking auth

Authoralfadocs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents AlfaDocs OAuth connections from breaking when access tokens expire or refresh-token rotation happens, avoiding accidental lockouts and forced re-authentication.

Core Features & Use Cases

  • Safely refreshes expired AlfaDocs tokens with the refresh_token grant.
  • Enforces concurrency-safe row locking so two requests never rotate the same token at once.
  • Keeps tokens server-side in Supabase, scopes them per practice and archive, and handles revoked-token recovery with clear retry and re-auth logic.
  • Use it when an AlfaDocs API call returns 401 or 403, when a token is near expiry, or when you need a production-safe refresh workflow for multiple practices.

Quick Start

Ask the assistant to refresh AlfaDocs OAuth tokens safely for the specified practice while preserving server-side Supabase storage, row locking, and rotated refresh-token persistence.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: alfadocs-oauth-token-refresh
Download link: https://github.com/alfadocs/ai-harness-instructions/archive/main.zip#alfadocs-oauth-token-refresh

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.