From 75c5386d80c290d4d9ef0ba71d39f768cd9b5424 Mon Sep 17 00:00:00 2001 From: Anton Johansson Date: Mon, 2 Jul 2018 15:09:49 +0200 Subject: [PATCH] Add missing parantheses --- securing_apps/topics/oidc/nodejs-adapter.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securing_apps/topics/oidc/nodejs-adapter.adoc b/securing_apps/topics/oidc/nodejs-adapter.adoc index 16f43318c7..271670a43c 100644 --- a/securing_apps/topics/oidc/nodejs-adapter.adoc +++ b/securing_apps/topics/oidc/nodejs-adapter.adoc @@ -135,7 +135,7 @@ To secure a resource with an application role for the current app: To secure a resource with an application role for a *different* app: [source,javascript] - app.get( '/extra-special', keycloak.protect('other-app:special', extraSpecialHandler ); + app.get( '/extra-special', keycloak.protect('other-app:special'), extraSpecialHandler ); To secure a resource with a realm role: