From 269147a67cc309af3f8d380eb2d412fc4de887d3 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Thu, 8 Dec 2016 09:41:04 -0200 Subject: [PATCH] Removal of Known issues section for Node.js --- topics/oidc/nodejs-adapter.adoc | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/topics/oidc/nodejs-adapter.adoc b/topics/oidc/nodejs-adapter.adoc index 61950d7987..ebc78b06c8 100644 --- a/topics/oidc/nodejs-adapter.adoc +++ b/topics/oidc/nodejs-adapter.adoc @@ -12,26 +12,6 @@ To use the Node.js adapter, first you must create a client for your application Once the client is created click on the `Installation` tab select `{{book.project.name}} OIDC JSON` for `Format Option` then click on `Download`. The downloaded `keycloak.json` file should be at the root folder of your project. -==== Known issue - -Node.js adapter requires `realm-public-key` attribute and does not retrieve it automatically from {{book.project.name}}. Otherwise, your Node.js app won't start. - -In order to prevent any issues, go to your `Realm Settings` and `Keys`, copy the `Public Key` to your keycloak.json file adding `realm-public-key` attribute like the snippet below: - -[source,json] ----- -{ - "realm": "example-realm", - "realm-public-key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrVrCuTtArbgaZzL1hvh0xtL5mc7o0NqPVnYXkLvgcwiC3BjLGw1tGEGoJaXDuSaRllobm53JBhjx33UNv+5z/UMG4kytBWxheNVKnL6GgqlNabMaFfPLPCF8kAgKnsi79NMo+n6KnSY8YeUmec/p2vjO2NjsSAVcWEQMVhJ31LwIDAQAB", - "auth-server-url": "http://localhost:8080/auth", - "ssl-required": "external", - "resource": "example-app", - "credentials": { - "secret": "mysecret" - } -} ----- - ==== Installation Assuming you've already installed https://nodejs.org[Node.js], create a folder for your application: