You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/08/31 07:49:31 UTC

[incubator-datalab] branch DATALAB-1342 updated: [DATALAB-1342]: fixed configure_keycloak.py

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-1342
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-1342 by this push:
     new a12dfd9  [DATALAB-1342]: fixed configure_keycloak.py
a12dfd9 is described below

commit a12dfd91105668463c52a7f650c351ac0fe72b5f
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Aug 31 10:49:21 2021 +0300

    [DATALAB-1342]: fixed configure_keycloak.py
---
 infrastructure-provisioning/src/base/scripts/configure_keycloak.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/src/base/scripts/configure_keycloak.py b/infrastructure-provisioning/src/base/scripts/configure_keycloak.py
index e760e8f..28da7a5 100644
--- a/infrastructure-provisioning/src/base/scripts/configure_keycloak.py
+++ b/infrastructure-provisioning/src/base/scripts/configure_keycloak.py
@@ -55,10 +55,10 @@ if __name__ == "__main__":
             "username": args.keycloak_user,
             "password": args.keycloak_user_password,
             "grant_type": "password",
-            "client_id": "admin-cli",
+            "client_id": "admin-cli"
         }
 
-       if not args.keycloak_client_secret:
+        if not args.keycloak_client_secret:
            args.keycloak_client_secret = str(uuid.uuid4())
 
         keycloak_client_create_url = '{0}/admin/realms/{1}/clients'.format(args.keycloak_auth_server_url,

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org