Skip to content

Install

sh
go get github.com/libraz/go-oidc-provider/op@latest

If you use the SQL or Redis adapter sub-modules, pin them to the same tag:

sh
go get github.com/libraz/go-oidc-provider/op/storeadapter/sql@latest
go get github.com/libraz/go-oidc-provider/op/storeadapter/redis@latest

The module language floor is Go 1.25+ (the go.mod directive is go 1.25.0). The release is built and tested with the pinned toolchain go1.26.5; use that toolchain or newer when you want the same TLS and dependency security baseline as the project CI.

Modules and sub-modules

Module pathWhen to import
github.com/libraz/go-oidc-provider/opAlways — the public API.
github.com/libraz/go-oidc-provider/op/storeadapter/inmemReference / dev / test store.
github.com/libraz/go-oidc-provider/op/storeadapter/sqlSQLite / MySQL / Postgres durable store. Sub-module — keeps DB drivers out of your go.sum until you opt in.
github.com/libraz/go-oidc-provider/op/storeadapter/redisVolatile substores (interactions, consumed JTIs). Sub-module.
github.com/libraz/go-oidc-provider/op/storeadapter/dynamodbDynamoDB store. Experimental sub-module; keeps the AWS SDK out of your go.sum until you opt in.
github.com/libraz/go-oidc-provider/op/storeadapter/compositeHot/cold splitter.

Sub-modules

The SQL, Redis, and DynamoDB adapters are published as Go sub-modules. You only pay the driver or AWS SDK dependency cost in modules that use them.

Stability

The library is at v1.0.0. Its public API follows Semantic Versioning, so breaking changes require a major release. A symbol whose godoc starts with Experimental: is the exception and may change in a minor release. Today that covers the login-flow and interaction-UI seams, Grant Management, and the DynamoDB adapter. The generated experimental API manifest is the complete current list; everything absent from it is stable. See CHANGELOG.md for release details.

Next