Member-only story

Secure Your angular & spring boot application using keycloak

Hamdi Bouallague
5 min readMar 19, 2021

--

1. What is a keycloak?

Keycloak it’s an open-source Identity and Access Management. This means he manages security from all its aspects. It is really a powerful tool, and I enjoyed using it.

2. Install keycloak:

There are many ways to install keycloak (docker image, standalone server, or helm chart….). In our case, we will use the standalone server.

https://www.keycloak.org/downloads

after unzipping the file and depending on your Operating system, start the server by double-clicking the standalone.bat for windows or standalone.sh for Linux.

Navigate to http://localhost:8080/auth.

Click on the Administration console:

Notes: for the first time keycloak will ask you to create a user.

3. Create a realm:

--

--

Hamdi Bouallague
Hamdi Bouallague

Written by Hamdi Bouallague

I'm Hamdi, a software engineer 👨‍💻, and writer 📝

Responses (4)

Write a response