Skip to content

Commit

Permalink
Add new field to CaddyFile field list (#218)
Browse files Browse the repository at this point in the history
* Sign Corporate CLA

* Add new field to CaddyFile field list
  • Loading branch information
moschlar authored Sep 4, 2023
1 parent b5b552b commit 67f9761
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions assets/cla/consent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down
3 changes: 2 additions & 1 deletion caddyfile_identity_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down Expand Up @@ -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":
Expand Down

0 comments on commit 67f9761

Please sign in to comment.