Repository: airavata Updated Branches: refs/heads/develop 280068981 -> a9d277167
AIRAVATA-2430 Ansible config for external idp logo option Project: http://git-wip-us.apache.org/repos/asf/airavata/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/24b869ae Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/24b869ae Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/24b869ae Branch: refs/heads/develop Commit: 24b869ae0abffcaf39d34e4b47879fa0d4d5714d Parents: 2800689 Author: Marcus Christie <[email protected]> Authored: Sat Jun 24 14:17:14 2017 -0400 Committer: Marcus Christie <[email protected]> Committed: Sat Jun 24 14:17:14 2017 -0400 ---------------------------------------------------------------------- .../inventories/scigap/develop/pga_config/seagrid/vars.yml | 1 + dev-tools/ansible/roles/pga/templates/pga_config.php.j2 | 3 +++ 2 files changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata/blob/24b869ae/dev-tools/ansible/inventories/scigap/develop/pga_config/seagrid/vars.yml ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/inventories/scigap/develop/pga_config/seagrid/vars.yml b/dev-tools/ansible/inventories/scigap/develop/pga_config/seagrid/vars.yml index 2e17fde..b81a2a6 100644 --- a/dev-tools/ansible/inventories/scigap/develop/pga_config/seagrid/vars.yml +++ b/dev-tools/ansible/inventories/scigap/develop/pga_config/seagrid/vars.yml @@ -45,6 +45,7 @@ auth_options: - name: "CILogon" oauth_grant_type: "authorization_code" oauth_authorize_url_extra_params: "kc_idp_hint=oidc" + logo: "/assets/cilogon-logo-24x24-b.png" oauth_callback_url: "https://{{ vhost_servername }}/callback-url" gateway_id: "seagrid" http://git-wip-us.apache.org/repos/asf/airavata/blob/24b869ae/dev-tools/ansible/roles/pga/templates/pga_config.php.j2 ---------------------------------------------------------------------- diff --git a/dev-tools/ansible/roles/pga/templates/pga_config.php.j2 b/dev-tools/ansible/roles/pga/templates/pga_config.php.j2 index c102e65..f4a60e9 100644 --- a/dev-tools/ansible/roles/pga/templates/pga_config.php.j2 +++ b/dev-tools/ansible/roles/pga/templates/pga_config.php.j2 @@ -67,6 +67,9 @@ return array( {% if "oauth_authorize_url_extra_params" in auth_option %} 'oauth-authorize-url-extra-params' => '{{ auth_option["oauth_authorize_url_extra_params"] }}', {% endif %} + {% if "logo" in auth_option %} + 'logo' => '{{ auth_option["logo"] }}', + {% endif %} ], {% endfor %} ],
