ajout webhook dispatcher

This commit is contained in:
2023-03-27 10:06:35 +02:00
parent ea6c9925c9
commit bedf63722d
3 changed files with 30 additions and 3 deletions

View File

@ -9,6 +9,6 @@
"redirect_uris": {{ item.redirect_uris | default([]) | to_json }},
"response_types": {{ item.response_types | default(["code"]) | to_json }},
"logo_uri": {{ item.logo_uri | default("") | to_json }},
"scope": {{ item.scope | default("openid profile email roles") | to_json }},
"scope": {{ item.scope | default("openid profile email") | to_json }},
"token_endpoint_auth_method": {{ item.token_endpoint_auth_method | default("client_secret_post") | to_json }}
}
}

View File

@ -61,3 +61,13 @@ hydra:
attributes_rewrite_rules: {{ hydra_ldap_attributes_rewrite_rules | to_json }}
icon_url: "{{ hydra_ldap_app_icon_url }}"
{% endif %}
{% if enable_hydra_dispatcher_webhook %}
webhook:
enabled: true
api_url: {{hydra_dispatcher_webhook_api_url}}
api_key: {{hydra_dispatcher_webhook_api_key}}
api_method: POST
firewall:
additional_properties: true
rules: {{ hydra_dispatcher_webhook_rules | to_json }}
{% endif %}