auth

Validate, generate, and inject OAuth tokens for ESO Logs browser sessions.

2|Updated Aug 18, 2025
One-click install
npx skills add https://github.com/ESO-Toolkit/eso-toolkit --skill auth-eso-toolkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth
Source: https://github.com/ESO-Toolkit/eso-toolkit/tree/main/.github/skills/auth
Command: npx skills add https://github.com/ESO-Toolkit/eso-toolkit --skill auth-eso-toolkit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures authenticated access to ESO Logs by managing OAuth tokens, crucial for both automated testing and live browser sessions.

Core Features & Use Cases

  • Token Validation: Checks for the existence and validity of OAuth tokens in tests/auth-state.json.
  • Token Generation: Creates new OAuth tokens using client credentials when existing ones are expired or missing.
  • Token Injection: Injects valid tokens into browser sessions for seamless authenticated usage.
  • Playwright Integration: Updates tests/auth-state.json to facilitate authenticated Playwright tests.

Quick Start

Check the auth state file for a valid token.

Frequently Asked Questions about auth

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

FAQPage Schema
How do I manage OAuth tokens for ESO Logs in Playwright tests?

Manage OAuth tokens for ESO Logs by validating existing tokens in the auth-state.json file and generating new ones using client credentials. This injects valid tokens into browser sessions to enable authenticated Playwright tests.

What is the best way to automate authenticated browser sessions for ESO Logs?

Automate authenticated browser sessions for ESO Logs by injecting valid OAuth tokens into the browser context. This requires client credentials for token generation and a Playwright configuration to maintain seamless authenticated access.

Do I need client credentials to generate OAuth tokens for ESO Logs?

Yes, you need client credentials to generate new OAuth tokens for ESO Logs. The token generation process relies on these credentials to create valid access tokens when existing ones are expired or missing from the auth-state.json file.

Why does my Playwright test fail to authenticate with ESO Logs?

Playwright test authentication with ESO Logs fails when OAuth tokens are expired or missing from the auth-state.json file. Validating the token state and generating new tokens using client credentials resolves the authentication failure.

Can I validate expired OAuth tokens before running automated ESO Logs tests?

You can validate OAuth tokens by checking the existence and validity of the token stored in the auth-state.json file. This validation ensures that only active tokens are used, triggering generation of new tokens when necessary for ESO Logs testing.