Introduction
What useGrant is and how it fits into your infrastructure.
useGrant is an open-source OpenID Connect provider built for machine-to-machine authentication. Your services request short-lived access tokens using the OAuth 2.0 client credentials grant, and exchange them with cloud providers and other systems that trust OpenID Connect, without storing long-lived secrets.
useGrant works in both directions:
- Issue tokens. Create providers on the fly through the API, each with its own issuer URL, signing keys and optional custom domain, so every provider operates as a fully isolated environment. Add clients to a provider and mint tokens for them on demand.
- Validate tokens. Create tenants that trust external identity providers such as GitHub Actions, and validate their tokens against policies you define.
Everything is available through the REST API and the TypeScript SDK. Start with API Authentication to create an API key, then follow one of the guides.
Quickstart
Create a provider and a client, then mint your first access token.
API Authentication
Authenticate your requests to the useGrant API.
SDK
Type-safe TypeScript SDK for the useGrant API.
Self-hosting
Run useGrant on your own infrastructure with Docker Compose.
Security
How useGrant keeps your tokens and data secure.