prepared for prod
This commit is contained in:
parent
38f48f558e
commit
8081b9ecf0
|
@ -12,6 +12,7 @@
|
|||
"keycloak": "{{ keycloak }}/{{ keycloak_realm }}",
|
||||
"keycloak_admin": "{{ keycloak_admin }}/{{ keycloak_realm }}",
|
||||
"ctx": "${workflow.input.context}",
|
||||
"jupyterhub_clientid" : "jupyterhub-dev",
|
||||
"scriptExpression": "function e(v){ return (v == null || (v.trim && v.trim() === ''))}; if(e($.ctx)) throw('Context must not be empty'); else return { encoded_context : $.ctx.replaceAll('/', '%2F')}"
|
||||
},
|
||||
"type": "LAMBDA",
|
||||
|
@ -66,7 +67,7 @@
|
|||
"inputParameters": {
|
||||
"url": "${init.input.keycloak_admin}/clients",
|
||||
"params": {
|
||||
"clientId": "jupyterhub1"
|
||||
"clientId": "${init.input.jupyterhub_clientid}"
|
||||
},
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
|
@ -91,7 +92,7 @@
|
|||
"inputParameters": {
|
||||
"url": "${init.input.keycloak_admin}/clients/${lookup_jupyterhub.output.body[0].id}/authz/resource-server/resource",
|
||||
"params": {
|
||||
"clientId": "jupyterhub1"
|
||||
"clientId": "${init.input.jupyterhub_clientid}"
|
||||
},
|
||||
"method": "GET",
|
||||
"headers": {
|
||||
|
|
Loading…
Reference in New Issue