useGrant

Security

How useGrant keeps your tokens and data secure.

useGrant is built for zero trust. Your services, workloads and use cases stay private, on your own infrastructure. useGrant only issues and validates tokens, it never needs access to the resources those tokens unlock.

What is stored

useGrant stores only what it needs to work:

  • Your account email, used solely to sign you in to the app. It is never part of the OAuth flow.
  • The providers, clients, domains, tenants and policies you configure.
  • The signing keys for your providers.

Nothing about your services or how you use the tokens is collected. Limiting what is stored also limits the impact of a data breach.

Signing keys

Each provider gets its own private keys to sign tokens. Private keys never leave useGrant, only the public keys are published so that relying parties can verify signatures.

You can enable key rotation per provider. A new signing key is then generated once a day. Old keys stay published for as long as tokens signed with them can still be valid, up to two days, and are removed after that.

Breach resistant

Even in the unlikely event of a breach, there is little actionable information at risk: useGrant holds no credentials to your cloud accounts, and the tokens it issues are short-lived.

How tokens are verified

Relying parties such as AWS, Google Cloud or your own services verify tokens using the standard OpenID Connect discovery flow. These endpoints are public and are served from your provider's issuer URL or its custom domain.

First, the relying party fetches the discovery document to find the jwks_uri:

GET /.well-known/openid-configuration

Then it fetches the public keys from the JWKS endpoint and uses them to verify the token signature:

GET /.well-known/jwks

On this page