@7n/oci-oidc-helper
v0.1.1
Published
Log in to oci.7n.ai with ORAS through Ory Device Authorization Flow.
Readme
@7n/oci-oidc-helper
Log in to oci.7n.ai with ORAS through Ory Device Authorization Flow.
Prerequisites: Bun 1.3+ and ORAS. No Zot password or OAuth client secret is needed.
bunx @7n/oci-oidc-helper loginThe helper opens Ory Device Flow in a browser. After confirmation, it requests
the OCI bridge audience and passes a short-lived access token directly to
oras login through stdin; the token is never printed.
Then use ORAS normally:
oras repo ls oci.7n.aiAnonymous reads of public/** do not require login. Access to private
repositories is granted by the Ory policy configured for your account. Repeat
login after the one-hour access-token lifetime.
