Skip to content

Commit

Permalink
Add and adjust sample config to match code style
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBSnowball committed Jun 8, 2020
1 parent 3c22997 commit 1a40dd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/sample_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,11 @@ oidc_config:
#
#skip_verification: true

# Always use userinfo endpoint. Required for providers that don't include
# user information in the token response, e.g. Gitlab.
#
#uses_userinfo: true

# An external module can be provided here as a custom solution to mapping
# attributes returned from a OIDC provider onto a matrix user.
#
Expand Down
6 changes: 3 additions & 3 deletions synapse/config/oidc_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ def generate_config_section(self, config_dir_path, server_name, **kwargs):
#
#skip_verification: true
# Always use userinfo endpoint. Required for providers that don't include user
# information in the token response, e.g. Gitlab.
# Always use userinfo endpoint. Required for providers that don't include
# user information in the token response, e.g. Gitlab.
#
#uses_userinfo: false
#uses_userinfo: true
# An external module can be provided here as a custom solution to mapping
# attributes returned from a OIDC provider onto a matrix user.
Expand Down

0 comments on commit 1a40dd2

Please sign in to comment.