WEBVTT

1
00:00:00.500 --> 00:00:04.971
When a user loses the phone that holds
their authenticator app,

2
00:00:04.971 --> 00:00:10.434
reset its OTP credential in three moves,
in this order: sign the user out,

3
00:00:10.434 --> 00:00:14.622
require a new authenticator, then delete
the old one.

4
00:00:14.622 --> 00:00:17.819
This is Keycloak 26.8.2.

5
00:00:19.033 --> 00:00:23.093
Before you start, confirm that the request
comes from the user,

6
00:00:23.093 --> 00:00:26.366
through a contact you had before the phone
was lost.

7
00:00:26.366 --> 00:00:31.135
Then sign in to the admin console with an
account that can manage the realm’s users.

8
00:00:32.600 --> 00:00:35.847
Check that the user’s realm is the current
realm.

9
00:00:35.847 --> 00:00:40.071
Select Users, search for the user, and
select their username.

10
00:00:49.400 --> 00:00:53.258
On the Sessions tab, select Logout all
sessions, and then Confirm.

11
00:00:53.258 --> 00:00:59.927
An open session would otherwise reach the
authenticator setup without the password.

12
00:01:01.933 --> 00:01:07.892 line:9% align:center
On the Details tab, in Required user
actions, choose Configure OTP.

13
00:01:07.892 --> 00:01:09.739 line:9% align:center
Then select Save.

14
00:01:09.739 --> 00:01:12.043 line:9% align:center
Do this before you delete anything.

15
00:01:16.000 --> 00:01:18.317
Select the Credentials tab.

16
00:01:18.317 --> 00:01:24.202
The OTP row is the lost phone: its label
names the device, Alex’s phone.

17
00:01:25.400 --> 00:01:28.404
Open the row’s menu, and select Delete.

18
00:01:32.400 --> 00:01:34.269
Confirm with Delete.

19
00:01:34.269 --> 00:01:35.802
The phone’s row is gone.

20
00:01:37.933 --> 00:01:40.756 line:9% align:center
At the next sign-in, after the password,

21
00:01:40.756 --> 00:01:44.211 line:9% align:center
Keycloak asks the user to set up an
authenticator.

22
00:01:44.211 --> 00:01:49.203 line:9% align:center
They scan the QR code with the app on
their new phone, type the code it shows,

23
00:01:49.203 --> 00:01:51.575 line:9% align:center
name the device, and select Submit.

24
00:02:01.967 --> 00:02:05.152
To check, open the Credentials tab again.

25
00:02:05.152 --> 00:02:09.815
The new OTP row has the new device’s name
and today’s date.

26
00:02:09.815 --> 00:02:12.057
And the admin events record the deletion.

27
00:02:19.867 --> 00:02:24.851
The written guide has every step, and what
to do when a code is rejected.

28
00:02:24.851 --> 00:02:27.829
Find it in the library at
karandeshmukh.dev.
