keycloak: 10.0.2
Angular: 9
postgresql: 9.6-alpine
keycloak-angular: 7.3.1
keycloak-js: 8.0.1
Note: If you are changing at least one version in above version list, probably you have to change other versions also.
- Go the docker folder using terminal and execute below cmd
docker-compose -f keycloak-docker-compose.yml up
I create a realm call keycloakIntegration
and after hit create
button it will look like below.
I create a client call keycloak-web
and add your angular server(http://localhost:4200/) URL as a Root URL
Then click save
button.
Create a user and add credentials.
Execute Below cmd
- npm install
- ng serve -o
Note: If you are change Realm name, client name or keycloak server port, Please make sure you correctly update those details in app.module.ts