mirror of
https://github.com/greenpau/caddy-security.git
synced 2025-04-18 08:04:02 +03:00
Add new field to CaddyFile field list (#218)
* Sign Corporate CLA * Add new field to CaddyFile field list
This commit is contained in:
parent
b5b552bc6a
commit
67f9761a82
@ -5,6 +5,13 @@
|
||||
# email: foo@bar.com
|
||||
# company: Contoso Inc.
|
||||
#
|
||||
- name: Thomas Ottenhus
|
||||
email: ottenhus@uni-mainz.de
|
||||
company: Johannes Gutenberg University Mainz
|
||||
- name: Moritz Schlarb
|
||||
email: schlarbm@uni-mainz.de
|
||||
company: Johannes Gutenberg University Mainz
|
||||
|
||||
# By adding your name and email below, you I hereby consent to the Individual
|
||||
# CLA provided in assets/cla/individual_cla.md.
|
||||
#
|
||||
|
@ -50,6 +50,7 @@ import (
|
||||
// enable logout
|
||||
// extract <field1> <fieldN> from userinfo
|
||||
// extract all from userinfo
|
||||
// user_info_roles_field_name role
|
||||
// }
|
||||
//
|
||||
// oauth identity provider <name> {
|
||||
@ -101,7 +102,7 @@ func parseCaddyfileIdentityProvider(d *caddyfile.Dispenser, repl *caddy.Replacer
|
||||
// OAuth
|
||||
"domain_name", "client_id", "client_secret", "server_id", "base_auth_url",
|
||||
"metadata_url", "identity_token_name", "authorization_url", "token_url",
|
||||
"region", "user_pool_id",
|
||||
"region", "user_pool_id", "user_info_roles_field_name",
|
||||
// SAML
|
||||
"idp_metadata_location", "idp_sign_cert_location", "idp_login_url",
|
||||
"application_id", "application_name", "entity_id":
|
||||
|
Loading…
x
Reference in New Issue
Block a user