diff --git a/docbook/auth-server-docs/reference/en/en-US/modules/javascript-adapter.xml b/docbook/auth-server-docs/reference/en/en-US/modules/javascript-adapter.xml
index 2e9f941ed8..33d62dca2d 100755
--- a/docbook/auth-server-docs/reference/en/en-US/modules/javascript-adapter.xml
+++ b/docbook/auth-server-docs/reference/en/en-US/modules/javascript-adapter.xml
@@ -209,6 +209,7 @@ new Keycloak({ url: 'http://localhost/auth', realm: 'myrealm', clientId: 'myApp'
redirectUri - specifies the uri to redirect to after loginprompt - can be set to 'none' to check if the user is logged in already (if not logged in, a login form is not displayed)loginHint - used to pre-fill the username/email field on the login form
+ action - if value is 'register' then user is redirected to registration page, otherwise to login page
@@ -246,6 +247,20 @@ new Keycloak({ url: 'http://localhost/auth', realm: 'myrealm', clientId: 'myApp'
+
+ register(options)
+
+ Redirects to registration form. It's a shortcut for doing login with option action = 'register'
+ Options are same as login method but 'action' is overwritten to 'register'
+
+
+
+ createRegisterUrl(options)
+
+ Returns the url to registration page. It's a shortcut for doing createRegisterUrl with option action = 'register'
+ Options are same as createLoginUrl method but 'action' is overwritten to 'register'
+
+
accountManagement()
diff --git a/examples/js-console/README.md b/examples/js-console/README.md
index 749c0f3612..fa9a02d192 100644
--- a/examples/js-console/README.md
+++ b/examples/js-console/README.md
@@ -12,6 +12,6 @@ Open the Keycloak admin console, click on Add Realm, click on 'Choose a JSON fil
Deploy the JS Console to Keycloak by running:
- mvn install jboss-as:deploy
+ mvn install wildfly:deploy
Open the console at http://localhost:8080/js-console and login with username: 'user', and password: 'password'.
diff --git a/examples/js-console/src/main/webapp/index.html b/examples/js-console/src/main/webapp/index.html
index d85b63b811..2cca0f8d16 100644
--- a/examples/js-console/src/main/webapp/index.html
+++ b/examples/js-console/src/main/webapp/index.html
@@ -7,6 +7,7 @@