package
module
Version:
v0.0.0-...-5803633
Opens a new window with list of versions in this module.
Published: Apr 3, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
Config stores the oidc middleware configurations
Source Files
¶
Click to show internal directories.
Click to hide internal directories.