From a5dc91f9a687655ebddba3938a1a188bf1383c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramiro=20Sa=CC=81nchez?= Date: Fri, 23 Oct 2015 12:23:24 +0200 Subject: [PATCH] Added support to indicate desired locale on login --- integration/js/src/main/resources/keycloak.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/integration/js/src/main/resources/keycloak.js b/integration/js/src/main/resources/keycloak.js index d189a361f8..9e3d44b3e5 100755 --- a/integration/js/src/main/resources/keycloak.js +++ b/integration/js/src/main/resources/keycloak.js @@ -168,6 +168,10 @@ url += '&scope=' + options.scope; } + if (options && options.locale) { + url += '&kc_locale=' + options.locale; + } + return url; }