Install Keycloak standalone server

Keycloak is an open source software for managing access for any application. It supports many different authentication and authorization standards such as Single Sign-On (basically, we can use our login information for many different applications), OpenID Connect, LDAP, and more … In this tutorial, I will show you how to install Keycloak!
First, go to the download page of Keycloak to download its installation file, at https://www.keycloak.org/downloads.html.
Please download the Standalone server distribution file in zip or tar.gz format on this page and extract it.

Myself is as follows:

Install Keycloak standalone server

To start the Keycloak server, open the Console on Windows or Terminal on Linux and macOS, go to the Keycloak bin folder and run the following command:

My results are as follows:

Install Keycloak standalone server

After starting the Keycloak server, you need to access the address http://localhost:8080/auth/

Install Keycloak standalone server

to create a new admin user for Keycloak.

You need to create a new user admin by filling in the Administration Console and then clicking Create button.
I will create a new user “khanh”, password “123456”, the result after clicking the Create button will be as follows:

Install Keycloak standalone server

Now you can log in to the Admin Console page of Keycloak!
You go to the address http://localhost:8080/auth/admin/, the login window will display the following:

Install Keycloak standalone server

Enter the user admin information you just created above and click the Login button. You will see the following results:

Install Keycloak standalone server

At this point, we have successfully installed Keycloak already!

Chia sẽ bài viết này ...Share on Facebook
Facebook
0Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Add Comment