get-test-token

Exchange user credentials for test JWTs across Supabase, Auth0, Cognito, and OAuth2 endpoints.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/Elmanuel1/skills --skill get-test-token
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: get-test-token
Source: https://github.com/Elmanuel1/skills/tree/main/get-test-token
Command: npx skills add https://github.com/Elmanuel1/skills --skill get-test-token

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually writing boilerplate curl commands to exchange credentials for test JWTs is time-consuming and error-prone, especially when auth provider endpoints or response formats change. This Skill eliminates that repetitive work and centralizes all auth provider logic in one place, so test plans stay clean and up-to-date.

Core Features & Use Cases

  • Multi-provider support: Works with Supabase, Auth0, Cognito, and any standard OAuth2 password-grant endpoint.
  • Token validation: Optionally decodes JWT claims to verify user identity, expiry, issuer, and custom claims.
  • Per-project config: Reads non-sensitive auth parameters from a local config file to avoid re-entering them on every run. Use this Skill whenever you need a test token for authenticated API calls against staging or dev environments, or when a Story test plan explicitly references it.

Quick Start

Use the get-test-token skill with the test user email [email protected] and corresponding password to generate a JWT for your staging Supabase environment.

Frequently Asked Questions about get-test-token

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

FAQPage Schema
How do I generate a test JWT for API testing without writing curl commands?

Generate a test JWT by providing test user credentials to automatically exchange them for access tokens via Supabase, Auth0, Cognito, or OAuth2 endpoints. This eliminates manual boilerplate curl commands and centralizes authentication provider logic.

Does this tool support fetching tokens from both Auth0 and Supabase?

Yes, fetching tokens supports Auth0, Supabase, Cognito, and generic OAuth2 password-grant endpoints. It handles the credential exchange process across these multiple authentication providers for your staging or development environments.

Can I decode JWT claims to verify expiry and issuer when testing APIs?

Yes, you can decode JWT claims to verify user identity, expiry, issuer, and custom claims. This token validation feature ensures the generated access tokens are correct before executing authenticated API requests or test plans.

How do I avoid re-entering auth provider parameters for every API test run?

Avoid re-entering parameters by using per-project config persistence, which reads non-sensitive auth parameters from a local config file. This keeps authentication details ready for repeated API testing workflows without manual input.

What is the best way to automate authenticated API requests in Postman or curl?

The best way to automate authenticated requests is using a centralized token generation process that exchanges credentials for temporary access tokens. This keeps curl or Postman testing clean and up-to-date across changing auth provider endpoints.

Are there limitations on using test tokens in production environments?

Yes, the limitation is that test tokens apply strictly to staging and development environments. You should not use these generated access tokens for production authentication, as they are designed for temporary API testing workflows only.