Skip to content

Commit

Permalink
Update config.yaml (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pionerd authored Feb 14, 2024
1 parent 394758f commit 8c3b717
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ oauth2:
# auth: "https://idp/oauth/auth"
# token: "https://idp/oauth/token"
issuer: "https://idp"
# provider: "generic"
# scopes:
# - "openid"
# - "profile"
Expand Down Expand Up @@ -327,4 +328,4 @@ CONFIG_OAUTH2_REFRESH_SECRET= # a static secret to encrypt token. Must be 16, 24
If `username-as-common-name` is configured at OpenVPN server,
ensure that `openvpn.common-name.environment-variable-name` is set to `username` as well.

This is mandatory, because `username-as-common-name` works after the authentication process.
This is mandatory, because `username-as-common-name` works after the authentication process.
3 changes: 2 additions & 1 deletion packaging/etc/openvpn-auth-oauth2/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
# auth: "https://idp/oauth/auth"
# token: "https://idp/oauth/token"
# issuer: "https://idp"
# provider: "generic"
# scopes:
# - "openid"
# - "profile"
Expand Down Expand Up @@ -63,4 +64,4 @@
# google:
# admin-email: ""
# impersonate-account: ""
# service-account-config: ""
# service-account-config: ""

0 comments on commit 8c3b717

Please sign in to comment.