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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址