keycloak user registration function verification

 The keycloak registration page is not open by default and needs to be opened first.

User registration switches to ON, indicating that registration is open.

Verify Email is switched to ON, indicating that the account needs to be verified when logging in for the first time ( verification is recommended, otherwise you can use someone else's email to register )

 

Once enabled, the Register link will appear on the current Realm login page.



 

Click the Register link to enter the registration page.

 


 

After filling in the registration information, click Submit to enter the email verification page.



 

If you have not received the activation email, you can click Click here to resend the activation email.

 

Before the email is verified, the account cannot be logged in normally. After logging in, you will enter the Email Verification page above.

 

 

View the information of the newly registered account through the administrator account, and the Required User Action of the newly registered account is displayed as Verify Email .



 

Enter the email address used for the registered account, and you will find that you have received an email verification email.



 

Click on the link: Link to e-mail address verification .

The link address format is as follows:

 

http://10.110.20.19/auth/realms/hqq/login-actions/action-token?key=eyJhbGciOiJIUzUxMiIsImtpZCIgOiAiMTlkNm******************&client_id=account&tab_id=kk3ebM_fP6g



 

 

After the email verification is completed, you can log in to keycloak normally in the future.

 

Note: You need to configure the mailbox server, otherwise the activation email cannot be sent.

To configure mail usage:

1. When registering, you need to provide a valid email account, and keycloak will send an email to the email for verification.

2. Retrieve password by email

3. The administrator receives email notifications about server events .

 

 

Mailbox server configuration example


 

  

Mailbox server configuration page, From Display Name purpose:



 

 

 

 

 

For more, see:

https://www.keycloak.org/docs/latest/server_admin/index.html#_user-registration

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326011456&siteId=291194637
Recommended