Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

OAuth2 device-code test CLI v1.0.0

Use this resource to use the test CLI to check the OAuth2 device-code flow

New

  • 539 downloads
  • 227 likes
  • 141 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install oauth2-device-code-fixture

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

This entry describes a reference CLI with OAuth2 device-code sign-in, token storage and an HTTP client. It serves to test the generator on this kind of authentication, not for everyday use.

Mostly picked by

Updated November 2, 2026

Card for the “OAuth2 device-code test CLI” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: command reference, authentication and agent mode
  • internal/oauth/device.go and internal/cliutil/oauth_token.go: device-code flow and tokens

Good fit for

  • You test a generator on a device-code flow
  • You look for an example of OAuth2 token handling in a CLI

Not for

    Tags

    • oauth2
    • device code
    • tokens
    • authentication
    • fixture

    About

    You say

    “Start the test CLI's device-code sign-in and tell me the next step.”

    Card for the “OAuth2 device-code test CLI” skill

    Skill published by printing-press-golden under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to use the test CLI to check the OAuth2 device-code flow
    3. Review and adjust the result

    Content preview

    Files

    • internal/cli/auth.go15.9 KB
    • internal/cli/sync_numeric_id_test.go1.3 KB
    • internal/client/client.go135 KB
    • internal/client/token_race_test.go3.8 KB
    • internal/cliutil/oauth_token.go2.5 KB
    • internal/config/config.go35.4 KB
    • internal/oauth/device.go7.1 KB
    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.6 KB
    • README.md16.3 KB
    • SKILL.md27.2 KB

    Origin and licence

    Listed unmodified

    Author
    printing-press-golden
    Source
    github.com/mvanhorn/cli-printing-press/tree/31b00c651fb736f1c488e435c0d7d73d9fca1ac6/testdata/golden/expected/generate-golden-api-oauth2-device-code/printing-press-oauth2-device-code
    Licence
    Apache-2.0

    Notice

    « pp-printing-press-oauth2 » (printing-press-golden, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.