Sign in

lishuyu.app · GitHub, password, or email link

Continue with GitHub
or
or

New here? Your account is created on first sign-in.

Returning to /

LLM / agent navigation — how to call auth (platform identity)

Platform identity — GitHub/email login, user JWT, PAT, and JWKS. Every service forward-auths its bearers here.

Base URL: https://auth.lishuyu.app — paths below are relative to it.

methodpathauthpurpose
GET/login/{provider}publicstart OAuth — provider = github
POST/login/emailpublicsend a magic-link email
POST/login/email/formpublicHTML-form variant of /login/email (urlencoded, renders result page)
POST/login/passwordpublicemail+password login (opt-in alternative for email accounts)
POST/login/password/formpublicHTML-form variant of /login/password (urlencoded, renders result page)
GET/api/users/meuser JWT/PATresolve the current bearer to a user
POST/api/users/me/passworduser JWT/PATset or change your own password (requires an email identity)
POST/api/patuser JWTmint a PAT for automation
GET/api/patuser JWTlist your PATs
POST/api/pat/{id}/revokeuser JWTrevoke a PAT
POST/token/refreshrefresh tokenexchange a refresh token for new access + refresh
GET/.well-known/jwks.jsonpublicRS256 public keys (JWKS)

Agents authenticate with a PAT: Authorization: Bearer pat_<...>. Sign in here first, then mint one at POST /api/pat (or via the admin console). A browser session rides the phm_jwt cookie. Admin-only user management lives under /api/users.

Other platform services: GET https://registry.lishuyu.app/llm.txt (public how-to), or authenticate and query GET https://registry.lishuyu.app/api/services/discover/{capability} to find a capability, then call that service directly.