Perform this steps to get MySQL configured for Keycloak: Not All information below is correct !!! Keycloak Configuration Download Keycloakĭownload the last version of Keycloak (this example uses 3.2.1.Final) login: analyst_user, password: analyst_user.login: advertiser_user, password: advertiser_user.login: admin_user, password: admin_user.Login to the application using this URL with any of these credentials:
Run npm install in the project directory to install Node.js libraries Replace keycloak-nodejs-example\keycloak.json in the root of the project with the downloaded keycloak.json. Go to the Clients menu.Ĭhoose CAMPAIGN_CLIENT in the Clients list.Ĭhoose Format Option: Keycloak OIDC JSON and click Download to download keycloak.json Keycloak will need time to initialize a database schema and start (about 1 minute).Īfter Sign in, CAMPAIGN_REALM has to be selected.
Just go to the Quick Start Section, if you don't want to read.
The code with permissions check: keycloak-nodejs-example/app.js
This is a simply Node.js REST application with checking permissions.