Tray API Authorization Manager

•
10
•

Manages the complete OAuth 2.0 lifecycle for Tray e-commerce integrations, including token generation, automatic renewal, and authentication error handling.

The Tray API Authorization skill provides a specialized workflow for developers to implement secure authentication with the Tray e-commerce platform. It guides Claude in executing the three-step OAuth 2.0 flow—redirection, callback handling, and access token generation—while ensuring best practices such as automatic token renewal before the 3-hour expiration and comprehensive mapping of Tray-specific error codes (1000-1099). This skill is essential for building stable apps, integrations, or middleware that require persistent and secure access to Tray store data without manual session management.

Key Features

0110 GitHub stars
02Automatic refresh_token management and token renewal logic
03Specific handling for Tray error codes 1000, 1001, 1002, 1003, and 1099
04Guidance on environment variable security and rate limit backoff strategies
05Complete 3-step OAuth 2.0 flow implementation (Redirect, Callback, Token Generation)
06Payload validation via specialized scripts to ensure API compatibility

Use Cases

01Initial connection and merchant authorization for new Tray marketplace apps
02Implementing background services that require automated token refreshing every 3 hours
03Debugging 401 Unauthorized errors and mapping them to specific store status issues