Introduction
Recently, it seems Keycloak is being used quite frequently. (According to my colleague)
I hadn't tried it yet myself, so I decided to give it a simple try to see what it's all about.
Getting Started with Keycloak
1. Pull the Docker image and start Keycloak
docker run --rm -p 8080:8080 \ -e KEYCLOAK_ADMIN = admin \ -e KEYCLOAK_ADMIN_PASSWORD = admin \ quay.io/keycloak/keycloak:24.0.3 \ start-dev
Enter fullscreen mode
Exit fullscreen mode
2. Access the admin console
Once Keycloak is running, access the admin console at the following URL:
http://localhost:8080
Enter fullscreen mode
Exit fullscreen mode
You'll see the Keycloak login page.
3. Log in to the admin console
Enter the username (admin) and password (admin) to log in to the admin console. The login was successful!
4. Create a test user
Navigate to the left menu and go to Users → Add user to create a new user. In this example, I created a user named "test".
5.…