2022-07-21 11:21:56 +02:00
|
|
|
{
|
|
|
|
"client_id": {{ item.client_id | to_json }},
|
|
|
|
"client_name": {{ item.client_name | default(item.client_id) | to_json }},
|
2022-07-21 14:19:23 +02:00
|
|
|
"client_secret": {{ item.client_secret | default(lookup('ansible.builtin.password', '/dev/null chars=ascii_lowercase,digits length=32 seed=inventory_hostname')) | to_json }},
|
2022-07-21 11:21:56 +02:00
|
|
|
"grant_types": {{ item.grant_types | default(["authorization_code","refresh_token"]) | to_json }},
|
|
|
|
"jwks": {},
|
|
|
|
"metadata": {},
|
|
|
|
"post_logout_redirect_uris": {{ item.post_logout_redirect_uris | default([]) | to_json }},
|
|
|
|
"redirect_uris": {{ item.redirect_uris | default([]) | to_json }},
|
|
|
|
"response_types": {{ item.response_types | default(["code"]) | to_json }},
|
2023-12-04 09:22:04 +01:00
|
|
|
"client_uri": {{ item.client_uri | default("") | to_json }},
|
2022-07-21 11:21:56 +02:00
|
|
|
"logo_uri": {{ item.logo_uri | default("") | to_json }},
|
2023-03-27 14:02:29 +02:00
|
|
|
"scope": {{ item.scope | default("openid profile email webhook") | to_json }},
|
2022-07-21 11:21:56 +02:00
|
|
|
"token_endpoint_auth_method": {{ item.token_endpoint_auth_method | default("client_secret_post") | to_json }}
|
2023-03-27 10:06:35 +02:00
|
|
|
}
|