auth

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvisioningSessionProvider

func NewProvisioningSessionProvider(
	inner samlsp.SessionProvider,
	authSvc services.AuthService,
) samlsp.SessionProvider

NewProvisioningSessionProvider wraps the default CookieSessionProvider so that every successful SAML assertion also JIT-provisions the local user record.

func NewSAMLMiddleware

func NewSAMLMiddleware(cfg *config.Config) (*samlsp.Middleware, error)

NewSAMLMiddleware constructs a crewjam/saml Middleware from application config. Returns nil, nil when SAML is not configured (SAML_IDP_METADATA_URL is empty). Returns nil, err when config is present but invalid (e.g. bad IdP URL).

Types

This section is empty.

Jump to

Keyboard shortcuts

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