Keycloak

Pre-configured KeyCloak OpenID Connect server for testing.

  • Realm: ngx

  • Client ID: ngxweb, ngxapi

  • Accounts:

    • ROLE_ADMIN

      1. ngxadmin : ngxadmin

    • ROLE_USER

      1. sumo: demo

      2. sumo1: demo

      3. sumo2: demo

      4. sumo3: demo

Configure SPA Client

set issuer, clientId in apps/webapp/src/environments/environment.ts

  auth: {
    clientId: 'ngxweb',
    issuer: 'http://localhost:8080/auth/realms/ngx',
  }

Start

Use

http://localhost:8080/

admin: admin123

Setup

Do import config. (first time only...) 1. login to keycloak admin console 2. create new realm ngx 3. import pre-set config

Test

Example Access Token

Last updated

Was this helpful?