瀏覽代碼

Use |to_json for matrix_mx_puppet_slack_oauth_client_secret

pull/1580/head
Slavi Pantaleev 4 年之前
committed by GitHub
父節點
當前提交
fce190099a
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      roles/matrix-bridge-mx-puppet-slack/templates/config.yaml.j2

+ 1
- 1
roles/matrix-bridge-mx-puppet-slack/templates/config.yaml.j2 查看文件

@@ -21,7 +21,7 @@ oauth:
# Slack app credentials.
# N.B. This must be quoted so YAML does not parse it as a float.
clientId: '{{ matrix_mx_puppet_slack_oauth_client_id }}'
clientSecret: '{{ matrix_mx_puppet_slack_oauth_client_secret }}'
clientSecret: {{ matrix_mx_puppet_slack_oauth_client_secret|to_json }}
# Path where to listen for OAuth redirect callbacks.
redirectPath: {{ matrix_mx_puppet_slack_redirect_path }}
# Set up proxying from https://your.domain/redirect_path to http://bindAddress:port/redirect_path,


Loading…
取消
儲存