Merge pull request #4058 from stianst/KEYCLOAK-4503

KEYCLOAK-4503 Require init with token and refreshToken
This commit is contained in:
Stian Thorgersen 2017-04-21 15:19:09 +02:00 committed by GitHub
commit 6c09df0cae

View file

@ -157,7 +157,7 @@
processCallback(callback, initPromise);
return;
} else if (initOptions) {
if (initOptions.refreshToken) {
if (initOptions.token && initOptions.refreshToken) {
setToken(initOptions.token, initOptions.refreshToken, initOptions.idToken);
if (loginIframe.enable) {