Skip to content

Install

sh
go get github.com/libraz/go-oidc-provider/[email protected]

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

sh
go get github.com/libraz/go-oidc-provider/op/storeadapter/[email protected]
go get github.com/libraz/go-oidc-provider/op/storeadapter/[email protected]
go get github.com/libraz/go-oidc-provider/op/storeadapter/[email protected]

The module needs Go 1.25 or newer (the go.mod directive is go 1.25.0). The release itself is built and tested with the pinned toolchain go1.27.0. Use that toolchain or newer if you want the same TLS and dependency security baseline the project CI runs on.

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

Configurations built with op.New and the bundled storage adapters generally upgrade unchanged. Embedders with BYO stores or other extensions should review the current migration guidance in CHANGELOG.md before upgrading. Symbols marked Experimental: in godoc remain the ordinary minor-release exemption; the generated experimental API manifest is the current list.

Next