This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
rocketchat/compose.oauth.yml

30 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2020-09-24 18:56:27 +00:00
---
2021-02-14 23:24:35 +00:00
version: "3.8"
2020-09-24 18:56:27 +00:00
services:
app:
2020-09-24 18:56:27 +00:00
secrets:
- oauth_key
environment:
- Accounts_OAuth_Custom-Keycloak=true
- Accounts_OAuth_Custom-Keycloak-url=https://${KEYCLOAK_DOMAIN}/auth
- Accounts_OAuth_Custom-Keycloak-token_path=/realms/${KEYCLOAK_REALM}/protocol/openid-connect/token
2020-09-24 18:56:27 +00:00
- Accounts_OAuth_Custom-Keycloak-token_sent_via=Header
- Accounts_OAuth_Custom-Keycloak-identity_token_sent_via=header
- Accounts_OAuth_Custom-Keycloak-identity_path=/realms/${KEYCLOAK_REALM}/protocol/openid-connect/userinfo
- Accounts_OAuth_Custom-Keycloak-authorize_path=/realms/${KEYCLOAK_REALM}/protocol/openid-connect/auth
2020-09-24 18:56:27 +00:00
- Accounts_OAuth_Custom-Keycloak-scope=openid
- Accounts_OAuth_Custom-Keycloak-id=${KEYCLOAK_CLIENT}
2020-09-24 18:56:27 +00:00
- Accounts_OAuth_Custom-Keycloak-login_style=redirect
- Accounts_OAuth_Custom-Keycloak-button_label_text=Login via Keycloak
2020-09-24 20:00:52 +00:00
- Accounts_OAuth_Custom-Keycloak-button_label_color=#FFFFFF
- Accounts_OAuth_Custom-Keycloak-button_color=#13679A
2020-09-24 18:56:27 +00:00
- Accounts_OAuth_Custom-Keycloak-username_field=preferred_username
- Accounts_OAuth_Custom-Keycloak-merge_users=false
- OAUTH_KEY_FILE=/run/secrets/oauth_key
secrets:
2021-02-14 23:24:35 +00:00
oauth_key:
external: true
name: ${STACK_NAME}_oauth_key_${SECRET_OAUTH_KEY_VERSION}