49

Integrating KeyCloak With Angular For SSO Authentication

 4 years ago
source link: https://blog.bitsrc.io/integrating-keycloak-with-angular-for-sso-authentication-9d1c6c2d2742
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

An example project with Keycloak-angular library.

7NnEvee.jpg!web

Keycloak is an open-source Identity and Access Management solution for modern applications and services. It makes it easier to secure your applications with little to no code. It provides a lot of features such as Single sign-on, single sign out, Kerberos bridge, Identity Brokering, and Social Login, User Federation, etc.

In this post, we will see how to integrate keycloak with the angular app for the SSO with a keycloak-angular library.

  • Introduction
  • Example Project
  • Running keyCloak server on Local
  • Creating Realms, Users, Roles, and clients
  • How To Use keycloak-angular Library
  • Invoking Keycloak Authentication On Load
  • Summary
  • Conclusion

Introduction

Security is one of the central components of developing web applications. Single sign-on is the authentication mechanism that permits users to access different or multiple applications with one set of credentials or by logging in once. Basically, It minimizes the management of various users and passwords.

This is how SSO works with keycloak. Users authenticate with Keycloak rather than individual applications. This means that your applications don’t have to deal with login forms, authenticating users, and storing users. Once logged-in to Keycloak, users don’t have to login again to access a different application.

This also applied to logout. Keycloak provides single-sign out, which means users only have to logout once to be logged out of all applications that use Keycloak.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK