From d4e8d87b642badfb5faa62fdfc13d7d12724e536 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Tue, 27 Oct 2020 10:46:03 +0200 Subject: [PATCH] Add swagger to the list of trusted redirects URLs (#502) Signed-off-by: Anatolii Bazko --- templates/keycloak_provision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/keycloak_provision b/templates/keycloak_provision index 6d17accf0..989981f48 100644 --- a/templates/keycloak_provision +++ b/templates/keycloak_provision @@ -20,7 +20,7 @@ if [ $? -eq 0 ]; then echo "Realm exists"; exit 0; fi \ -s clientId=$keycloakClientId \ -s id=$keycloakClientId \ -s 'webOrigins=["http://$cheHost", "https://$cheHost"]' \ - -s 'redirectUris=["http://$cheHost/dashboard/*", "https://$cheHost/dashboard/*", "http://$cheHost/workspace-loader/*", "https://$cheHost/workspace-loader/*", "http://$cheHost/_app/*", "https://$cheHost/_app/*"]' \ + -s 'redirectUris=["http://$cheHost/dashboard/*", "https://$cheHost/dashboard/*", "http://$cheHost/workspace-loader/*", "https://$cheHost/workspace-loader/*", "http://$cheHost/_app/*", "https://$cheHost/_app/*", "http://$cheHost/swagger/*", "https://$cheHost/swagger/*"]' \ -s 'directAccessGrantsEnabled'=true \ -s publicClient=true \ && $script create users -s username=admin \