Skip to content

NotRllyRn/pi-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-auth

pi-auth is a Pi extension for saving and switching named OAuth Credential Profiles. Its locked global Profile Vault is the source of truth; Pi's auth.json remains the active Canonical Mirror.

Install

pi install git:github.com/NotRllyRn/pi-auth

Restart Pi, then use built-in /login or open /auth-profile.

Commands

  • /auth-profile — activate, inspect usage, rename, delete, refresh, or reconcile profiles.
  • /auth-profile sync — reconcile a manually changed auth.json entry.
  • /login — logs in normally and saves the result as a new profile.
  • /logout — signs out without deleting saved profiles.

v1 supports OAuth for Anthropic, GitHub Copilot, and OpenAI Codex. It does not store API keys. Activations are global: the last completed Activation wins across running Pi sessions.

See docs/usage.md for the workflow and issue #1 for the specification.

About

Pi CLI extension for isolating auth credentials and switching between providers

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages