oidc

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg Config) error

Run performs OIDC authentication following the epithet auth plugin protocol. It reads state from stdin, performs authentication or token refresh, writes the access token to stdout, and writes updated state to fd 3.

Types

type Config

type Config struct {
	IssuerURL    string
	ClientID     string
	ClientSecret string // Optional for PKCE
	Scopes       []string
	TLSConfig    tlsconfig.Config
}

Config holds OIDC authentication configuration.

Jump to

Keyboard shortcuts

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