Merge pull request #66 from abstractj/nodejs
Removal of Known issues section for Node.js
This commit is contained in:
commit
79adb1676e
1 changed files with 0 additions and 20 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue