Skip to content

User Self Service

Stan Silvert edited this page Jan 28, 2018 · 2 revisions

Adding Self Service (account management) to your application

Keycloak account management allows a user to change passwords, edit his profile, manage two-factor authentication, and more.

Account management is a separate application served by the Keycloak Server. The look and feel is fully customizable so that it can look just like one of your own applications.

To add a link for account management follow these two steps:

First, inject the KeycloakService into your component.

import { KeycloakService } from './keycloak-service/keycloak.service';
.
.
constructor(private kcSvc: KeycloakService) {}

Then, use the service in your html

<a href="#" (click)="kcSvc.account()">My Account</a>

Clone this wiki locally