Section about realm-public-key
This commit is contained in:
parent
fb8c55022a
commit
c9b9e9f678
1 changed files with 6 additions and 2 deletions
|
@ -12,6 +12,12 @@ 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]
|
||||
----
|
||||
{
|
||||
|
@ -26,8 +32,6 @@ Once the client is created click on the `Installation` tab select `{{book.projec
|
|||
}
|
||||
----
|
||||
|
||||
Please notice that `realm-public-key` attribute is mandatory. Otherwise, your Node.js app won't start.
|
||||
|
||||
==== Installation
|
||||
|
||||
Assuming you've already installed https://nodejs.org[Node.js], create a folder for your application:
|
||||
|
|
Loading…
Reference in a new issue