Getting Started
Copy MarkdownLockspire is for Phoenix teams that need to become an OAuth/OIDC provider inside an existing product.
Use it when:
- Your product already owns accounts and login UX.
- You need OAuth/OIDC for third-party clients.
- You want protocol correctness and operator workflows without standing up a separate auth service.
Do not use Lockspire as:
- A hosted identity platform
- A replacement for your account system
- A SAML, LDAP, or generic federation suite
Install shape
- Add the dependency.
- Run
mix lockspire.install. - Review and wire the generated host-owned files.
- Run migrations.
- Register a client and prove the flow with discovery, JWKS, and an authorization-code + PKCE exchange.
The generated files stay host-owned by design. Lockspire provides the protocol core; your app keeps ownership of login UX, branding, policy, and account data.