Add OAuth

This commit is contained in:
3wc
2020-09-24 02:26:17 +02:00
parent dc81610de1
commit 4ef620c887
3 changed files with 24 additions and 1 deletions

View File

@ -6,3 +6,14 @@ export LETS_ENCRYPT_ENV=production
export DB_ROOT_PASSWORD_VERSION=v1
export ENTRYPOINT_CONF_VERSION=v1
# OAuth
#export CMD_OAUTH2_PROVIDERNAME="Keycloak"
#export CMD_OAUTH2_BASEURL="https://keycloak.example.com/realms/realmname/protocol/openid-connect/"
#export CMD_OAUTH2_CLIENT_ID="codimd"
#export CMD_OAUTH2_AUTHORIZATION_URL="https://keycloak.example.com/auth/realms/realmname/protocol/openid-connect/auth"
#export CMD_OAUTH2_TOKEN_URL="https://keycloak.example.com/auth/realms/realmname/protocol/openid-connect/token"
#export CMD_OAUTH2_USER_PROFILE_URL="https://keycloak.example.com/auth/realms/realmname/protocol/openid-connect/userinfo"
#
#export OAUTH_KEY_VERSION=v1