OAuth Auto-Provisioning
lazyenv can provision OAuth credentials via browser automation during lazyenv sync.
Supported providers
Section titled “Supported providers”- GitHub OAuth App (produces
GITHUB_CLIENT_ID,GITHUB_CLIENT_SECRET) - Google OAuth Client (produces
GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET)
How it works
Section titled “How it works”lazyenv syncdetects a matching key in.env.example(for exampleGITHUB_CLIENT_ID)- You choose the matching provisioner
- lazyenv opens a browser session and walks through app creation
- It extracts the generated credentials and writes them to your store
- Add the keys to your
.env.example:
GITHUB_CLIENT_ID=GITHUB_CLIENT_SECRET=- Run sync:
lazyenv syncWhen prompted for values, pick the OAuth provisioner instead of pasting credentials manually.
- This is interactive by design (it needs a logged-in browser session).
- Use
lazyenv provisioners listto see what’s available.