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 }},
|
|
|
|
"logo_uri": {{ item.logo_uri | default("") | to_json }},
|
2022-08-26 13:55:27 +02:00
|
|
|
"scope": {{ item.scope | default("openid profile email roles") | 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 }}
|
|
|
|
}
|