get realm from request instead of configuration

This commit is contained in:
Marco Lettere 2020-11-17 10:04:44 +01:00
parent 04c6e0b701
commit 1a75ca07ed
2 changed files with 5 additions and 5 deletions

View File

@ -13,10 +13,10 @@ workflows:
- user-group_deleted
- user-group-role_deleted
- delete-user-account
keycloak_realm: d4science
#keycloak_realm: d4science
keycloak_host: "https://accounts.dev.d4science.org/auth"
keycloak: "{{ keycloak_host }}/realms/{{ keycloak_realm}}"
keycloak_admin: "{{ keycloak_host }}/admin/realms/{{ keycloak_realm }}"
keycloak: "{{ keycloak_host }}/realms"
keycloak_admin: "{{ keycloak_host }}/admin/realms"
keycloak_auth: "c93501bd-abeb-4228-bc28-afac38877338"
liferay: "https://next.d4science.org/api/jsonws"
liferay_auth: "bm90aWZpY2F0aW9uc0BkNHNjaWVuY2Uub3JnOmdjdWJlcmFuZG9tMzIx"

View File

@ -12,8 +12,8 @@
"taskReferenceName": "init",
"type": "LAMBDA",
"inputParameters": {
"keycloak": "{{ keycloak }}",
"keycloak_admin" : "{{ keycloak_admin }}",
"keycloak": "{{ keycloak }}/${workflow.input.realm}",
"keycloak_admin" : "{{ keycloak_admin }}/${workflow.input.realm}",
"liferay": "{{ liferay }}",
"liferay_auth": "{{ liferay_auth }}",
"keycloak_userid" : "${workflow.input.userid}",