docker compose up
- setup keycloak
- setup postgres
-
add following lines to the hosts files
- in windows (usually in C:\Windows\System32\drivers\etc\hosts) \
- in linux base systems (usually in /etc/hosts)
127.0.0.1 idp.promentor.local
127.0.0.1 sltc.app.promentor.local
127.0.0.1 pro-mentor-web.app.promentor.local
127.0.0.1 pro-mentor.app.promentor.local
username: admin
password: admin
-
go to Users and set admin account email in master realm
-
select the relevant realms from top left drop down and go to Realm Settings -> Email Tab.
-
In the Connection & Authentication section first Disable the Authentication and then Enable it.
-
Replace the Password with the SMTP server access key and Save it and click on Test Connection to test the connection
-
log into the master realm
-
go to the realm, want to add a admin that local to that realm. (admin can access the admin console of that realm)
-
create a User in that realm and set email and password
-
go to the Role mapping under that user and assing the "account-admin" role to that user
-
then you can access admin panel for that realm using that user credentials
http://idp.promentor.local:8080/admin/<tenant id>/console/
- replace the <tenant> id according to the tenant
- set keycloak https://keepgrowing.in/tools/