What is Keycloak?
Keycloak is an open source solution to manage Identity and Access to apps and services. 🔒
It supports Single-Sign-On, Standards Protocols (OAuth 2.0, OpenID Connect, SAML 2.0), LDAP and Active Directory...
Why using Keycloak?
Open Source
The first reason is really simple, it's an open source project so it will help you to save your money. 💵
If we just compare with Okta, the usage of the Single-Sign-On feature is 2$ per user per month. So for personal projects or other contexts where you don't want to pay or the minimum possible, it can be a great solution.
Multi-platform
Following the documentation, Keycloak can be installed on
- Docker
- Kubernetes
- OpenJDK
- Podman
- Openshift
And secure applications in Vue.js. So it can be integrated into a lot of infrastructures.
Complete
Keycloak is a complete project to help you to manage authentication and authorization. They are many features in it (Realm, Users, Clients, Roles...) with a lot of possibilities, which can be a little bit confusing at the beginning but really powerful.
(I don't want to detail all and explain each feature, it's not the objective. Go check the Keycloak documentation which is really interesting.)
Also, it embeds all that you need for user account creation and login. The user creation is customizable, you can choose which informations must be provided...
With the available customization, you are also able to change the design of this page to adapt it to your site. (Tutorial to do it)
How to use it?
There already are a lot of tutorials, so just go check them :
- https://www.keycloak.org/docs/latest/getting_started/
- https://developers.redhat.com/blog/2020/11/24/authentication-and-authorization-using-the-keycloak-rest-api/
In conclusion, Keycloak is a powerful all-in-one Identity and Access Manager, and it continues to evolve.
Links
- Website: https://www.keycloak.org/
- GitHub: https://github.com/keycloak/keycloak
- Twitter: https://twitter.com/keycloak
- Guide to use keycloak with Spring Boot: https://www.baeldung.com/spring-boot-keycloak
I hope it will help you!
Top comments (0)