Skip to content

OIDC SDK

Grow Codes CI License

One API for OIDC in five languages: TypeScript, Rust, Go, Python and Java. Every package has the same functions, options, defaults, error codes and behaviour, tested against a real casbin/casdoor:v4.27.1 in Docker.

Language Package Coverage
TypeScript @grow-codes/oidc TypeScript coverage
Rust grow-oidc Rust coverage
Go github.com/grow-codes-packages/oidc/go Go coverage
Python grow-oidc Python coverage
Java codes.grow.packages:oidc Java coverage

What you get

  • Client with health, authenticated ping and server version (Client).
  • Configuration from code or GROW_OIDC_* / vendor environment variables, immutable and validated (Configuration).
  • Retries with full-jitter backoff and Retry-After, connect/request/total timeouts and cancellation in every language.
  • Typed errors with one set of codes across languages (Error handling).
  • Redaction everywhere: credentials never appear in errors, logs, hooks or toString (Redaction).
  • Service functions for the OIDC API (Functions).

Start with Install and the Quickstart.

Independent project

This SDK is made by Grow Codes. OIDC is a trademark of its owner (OpenID Foundation (specification); any OpenID Connect provider); this project is not affiliated with or endorsed by it. See License & disclaimer.