From ac2ee48ff666d34e9169eadcc5b9d5232265f4e4 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Tue, 27 Aug 2019 12:11:24 +0200 Subject: [PATCH] [KEYCLOAK-11193] Add new `enableLogging` option to JS adapter --- securing_apps/topics/oidc/javascript-adapter.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/securing_apps/topics/oidc/javascript-adapter.adoc b/securing_apps/topics/oidc/javascript-adapter.adoc index 8ced07d72c..abd0790ff7 100644 --- a/securing_apps/topics/oidc/javascript-adapter.adoc +++ b/securing_apps/topics/oidc/javascript-adapter.adoc @@ -343,6 +343,7 @@ Options is an Object, where: * responseMode - Set the OpenID Connect response mode send to {project_name} server at login request. Valid values are query or fragment. Default value is fragment, which means that after successful authentication will {project_name} redirect to JavaScript application with OpenID Connect parameters added in URL fragment. This is generally safer and recommended over query. * flow - Set the OpenID Connect flow. Valid values are standard, implicit or hybrid. * promiseType - If set to `native` all methods returning a promise will return a native JavaScript promise. If not set will return Keycloak specific promise objects. +* enableLogging - Enables logging messages from Keycloak to the console (default is false). Returns promise to set functions to be invoked on success or error.