Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.03 KB

README.md

File metadata and controls

21 lines (17 loc) · 1.03 KB

oauth-presentation

How to run

  1. Create file .env in the repository root:

    KC_BOOTSTRAP_ADMIN_PASSWORD=1337
    KC_DB_PASSWORD=1337
    PGADMIN_DEFAULT_PASSWORD=1337
  2. Run docker compose up -d.

  3. Open the KeyCloak Admin Console and login as user kcadmin using the password in KC_BOOTSTRAP_ADMIN_PASSWORD you set in your .env file.

  4. Initial data for realm customer is imported by KeyCloak on container start.

  5. Users still need to be created manually. In customer -> Users, create a user for your first The Online Bank customer as follows:

    • Credentials -> Set password
      • Temporary: Off
    • In addition to username, set a First name and Last name.
  6. Run npm start in ./the-online-bank.

  7. Open The Online Bank in your browser.