oidc

package
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package oidc runs an in-process yauth-backed OIDC provider for local dev. It is seeded from oidc config and binds on its own port; no Postgres is required — the backend is the yauth "memory" driver.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is an in-process OIDC provider.

func New

func New(cfg *config.OIDCConfig, port uint16, logger *slog.Logger) *Server

New creates an OIDC server from the given config and resolved port.

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Start builds the yauth instance, seeds users and clients, then listens. It blocks until ctx is cancelled.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL