From c8109152a9aeb616a465bcff1dca6a6dd67bc4b9 Mon Sep 17 00:00:00 2001 From: Manuel Rauber Date: Tue, 20 Apr 2021 14:05:56 +0200 Subject: [PATCH] KEYCLOAK-17684: fix definition of createAccountUrl parameter --- securing_apps/topics/oidc/javascript-adapter.adoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/securing_apps/topics/oidc/javascript-adapter.adoc b/securing_apps/topics/oidc/javascript-adapter.adoc index 8b2519ce558..1eb251f0167 100644 --- a/securing_apps/topics/oidc/javascript-adapter.adoc +++ b/securing_apps/topics/oidc/javascript-adapter.adoc @@ -502,10 +502,14 @@ Options are same as for the createLoginUrl method but 'action' is set to 'regist Redirects to the Account Management Console. -====== createAccountUrl() +====== createAccountUrl(options) Returns the URL to the Account Management Console. +Options is an Object, where: + +* redirectUri - Specifies the uri to redirect to when redirecting back to the application. + ====== hasRealmRole(role) Returns true if the token has the given realm role.