oidc

package module
v0.0.0-...-5803633 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 2 Imported by: 0

README

caddy-oidc

OpenID Connect plugin for Caddy Server.

This middleware providades authentication against an OIDC provider.

Features:

  • Custom Scopes
  • JWT token in cookies
  • Not before (nbf): forces reissuence of JWT before date
  • Validate claims

Caddyfile Syntax

Configuration Options

Parameter Type Default Description
cookie-domain string Optional cookie domain parameter
cookie-http-only boolean true Set cookie HTTP only flag
cookie-name string Optional cookie domain parameter
cookie-domain string Optional cookie domain parameter
issuer string OIDC issuer URL
client-id string OIDC client id
client-secret string OIDC client id
redirect-url string Authentication callback URL
scopes string Optional Requested scopes

Setup

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Issuer       string
	ClientId     string
	ClientSecret string
	RedirectUrl  string
}

Config stores the oidc middleware configurations

Jump to

Keyboard shortcuts

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