Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Although each realm can have variations in what information we collect., or what authentication policy is setup, there is a minimum set of recommendations that should be follow in each realm setup.

User registration fields

Field

Mandatory

Type

1

First name

Mandatory

Native to keycloak

2

Surname

Mandatory

Native to keycloak

3

Username

Mandatory

Native to keycloak

4

Email address

Mandatory

Native to keycloak

5

Phone number

Mandatory

+CCC NNNNNNN

6

WhatsAppID

Mandatory

+CCC NNNNNNN

7

Preferred Language

Mandatory

additional field

8

Gender (or Age, or Age range)

Optional

additional field

9

Date of birth

Optional

additional field

10

Type of worker

per realm

additional field
Drop down value per realm

11

Employee ID

per realm

additional field

12

Health Unit

per realm

additional field
Drop down value per realm

13

City/Town

Optional

additional field
Drop down value per realm

14

SubNational L2
(rename for each realm)

per realm

additional field
Drop down value per realm

15

SubNational L1
(rename for each realm)

per realm

additional field
Drop down value per realm

Information not collected:

  • Country: not necessary, as the user will be on a real that

Policies

In general, we will setup keycloak Keycloak mirroring PSI’s authentication policy which can be summarized as follow:summarised as detailed below.

PSI’s Password policy
Status
colourGreen
titleimplemented june 2023

  • 8 characters or more

  • Never expires

  • must include

    • one lower case,

    • one upper case,

      one number and

    • one special character

  • Not user name

  • Not email

PSI' 2FA
Status
colourGreen
titleimplemented June 2023

  • Enrolment via FreeOTP, Google or Microsoft authenticator

  • valid for 30 60 days per application/device

    • Example: if a user authenticates Firefox on a given laptop, and then uses Google Chrome on the same device, the user will need to authenticate again.

2FA optional
Status
titleNOT IMPLEMENTED

  • Geo-limit: if IP is > 500 miles from previous login, request 2FA

Additionally, PSI is due to implement OTP phone numbers for verification.

Keycloak policy - as implemented

...

Email verification
Status
colourGreen
titleimplemented June 2023

If a user list is imported, emails can be marked as verified.

If users self-register, they are expected to verify their email by following the link send at the time of account creation.

Phone Verification
Status
titleNOT IMPLEMENTED

If a user list is imported, phones can be marked as verified.

If users self-register, they are expected to verify their phone by entering the SMS sent to them at the time of account creation.