keycloak-scim/server_admin/topics/users/required-actions.adoc

44 lines
2.5 KiB
Text
Raw Normal View History

2016-05-16 13:34:52 +00:00
=== Required Actions
Required Actions are tasks that a user must finish before they are allowed to log in. A user must provide their credentials before required actions are executed. Once a required action is completed, the user will not have
2016-05-16 13:34:52 +00:00
to perform the action again.
2016-12-02 15:59:53 +00:00
Here are an explanation of some of the built-in required action types:
2016-05-16 13:34:52 +00:00
Update Password::
When set, a user must change their password.
Configure OTP::
2017-06-15 19:22:34 +00:00
When set, a user must configure a one-time password generator on their mobile device using either the Free OTP or Google Authenticator application.
2016-05-16 13:34:52 +00:00
Verify Email::
When set, a user must verify that they have a valid email account. An email will be sent to the user with a link they have to click. Once this workflow
is successfully completed, they will be allowed to log in.
Update Profile::
This required action asks the user to update their profile information, i.e. their name, address, email, and/or phone number.
Admins can add required actions for each individual user within the user's `Details` tab in the Admin Console.
2016-05-16 13:34:52 +00:00
.Setting Required Action
2017-08-28 12:50:14 +00:00
image:{project_images}/user-required-action.png[]
2016-05-16 13:34:52 +00:00
In the `Required User Actions` list box, select all the actions you want to add to the account. If you want to remove one, click the `X` next to the
action name. Also remember to click the `Save` button after you've decided what actions to add.
==== Default Required Actions
You can also specify required actions that will be added to an account whenever a new user is created, i.e. through the `Add User` button the user
2017-08-28 12:50:14 +00:00
list screen, or via the <<_user-registration, user registration>> link on the login page. To specify
2016-05-16 13:34:52 +00:00
the default required actions go to the `Authentication` left menu item and click on the `Required Actions` tab.
.Default Required Actions
2017-08-28 12:50:14 +00:00
image:{project_images}/default-required-actions.png[]
2016-05-16 13:34:52 +00:00
Simply click the checkbox in the `Default Action` column of the required actions that you want to be executed when a brand new user logs in.
2016-05-16 13:34:52 +00:00
==== Terms and Conditions
Many organizations have a requirement that when a new user logs in for the first time, they need to agree to the terms and conditions
2017-08-28 12:50:14 +00:00
of the website. {project_name} has this functionality implemented as a required action, but it requires some configuration. For one, you
2016-05-16 13:34:52 +00:00
have to go to the `Required Actions` tab described earlier and enable the `Terms and Conditions` action. You must also edit the
2017-08-28 12:50:14 +00:00
_terms.ftl_ file in the _base_ login theme. See the link:{developerguide_link}[{developerguide_name}] for more information on extending and
2016-05-16 13:34:52 +00:00
creating themes.