Skip to content

Commit 6f1531d

Browse files
Merge pull request #5508 from sadilchamishka/update-docs-invite-user-password
Update documentation for invite user to set password
2 parents 0535152 + 5b86ed2 commit 6f1531d

File tree

5 files changed

+67
-0
lines changed

5 files changed

+67
-0
lines changed
226 KB
Loading
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{% include "../../../../../includes/guides/account-configurations/user-onboarding/invite-user-to-set-password.md" %}

en/asgardeo/mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ plugins:
158158
'guides/user-accounts/account-security/login-attempts-security.md': 'guides/account-configurations/login-security/login-attempts.md'
159159
'guides/user-accounts/account-security/password-validation.md': 'guides/account-configurations/login-security/password-validation.md'
160160
'guides/user-accounts/configure-self-registration.md': 'guides/account-configurations/user-onboarding/self-registration.md'
161+
'guides/identity-lifecycles/invitation-workflow.md': 'guides/account-configurations/user-onboarding/invite-user-to-set-password.md'
161162
'guides/organization-management/invite-parent-organization-users.md': 'guides/organization-management/onboard-users.md'
162163
'guides/organization-management/email-domain-based-organization-discovery.md': 'guides/organization-management/organization-discovery/email-domain-based-organization-discovery.md'
163164
'apis/organization-apis/org-application-management.md': 'apis/organization-apis/shared-application-management.md'
@@ -407,6 +408,7 @@ nav:
407408
- User onboarding:
408409
- Self-registration: guides/account-configurations/user-onboarding/self-registration.md
409410
- Self-registration flow: guides/account-configurations/user-onboarding/self-registration-flow.md
411+
- Invite user to set password: guides/account-configurations/user-onboarding/invite-user-to-set-password.md
410412
- Manage login identifiers:
411413
- Configure username validation: guides/account-configurations/account-login/username-validation.md
412414
- Configure alternative login identifiers: guides/user-accounts/account-login/configure-login-identifiers.md
155 KB
Loading

en/includes/guides/account-configurations/user-onboarding/invite-user-to-set-password.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,80 @@ Allow administrator to invite users to set their own passwords during the onboar
66

77
For inviting users to set their password, follow these instructions:
88

9+
{% if (is_version is defined and is_version > "7.1.0") or product_name == "Asgardeo" %}
10+
1. On the {{product_name}} Console, go to **Login & Registration** > **User Onboarding** > **Invite User to Set Password**.
11+
2. Enable the **Invite User to Set Password** feature to invite user to set the password after user creation.
12+
3. From **Choose invitation method**, select Email Link to send an invitation link. Alternatively, select OTP (delivered via Email or SMS) to start the invitation flow.
13+
4. Set the **Invitation link/OTP expiry time** in minutes.
14+
This defines how long the password setup invitation email or OTP remains valid.
15+
- For infinite validity, set -1
16+
- Setting 0 causes immediate expiry
17+
5. If you want to send an account activation confirmation notification, enable the **Send account activation notification**.
18+
6. Select the **Lock account until password is set** to lock the user account during user creation.
19+
7. Configure the OTP code options from **OTP Code Configuration**: enable uppercase, lowercase, and numeric characters, then set the desired OTP code length.
20+
21+
!!! note
22+
When using OTP invitation method, users can use the received OTP as a temporary password to log in. The system redirects users to the password setup page after login to create their permanent password.
23+
24+
8. Click **Update** to save the changes.
25+
{% else %}
926
1. On the {{product_name}} Console, go to **Login & Registration** > **User Onboarding** > **Invite User to Set Password**.
1027
2. Check the **Enable email invitations for user password setup** to send an email to the user to set the password after user creation.
1128
3. Select the **Enable account lock on creation** to lock the user account during user creation.
1229
4. If you want to send an account activation confirmation email, enable the **Send account activation email**.
1330
5. Set the **Password setup invitation code expiration time** in minutes to define how long the password setup invitation e-mail would be valid. For infinite validity period, set -1. Setting 0 will cause immediate expiry of the invitation.
1431
6. Click **Update** to save the changes.
32+
{% endif %}
1533

1634
![Invite User to Set Password Configuration]({{base_path}}/assets/img/guides/account-configurations/invite-user-to-set-password.png){: width="700" style="display: block; margin: 0;"}
1735

1836
## Parameters
1937

38+
{% if (is_version is defined and is_version > "7.1.0") or product_name == "Asgardeo" %}
39+
<table>
40+
<tr>
41+
<th>Parameter</th>
42+
<th>Description</th>
43+
</tr>
44+
<tr>
45+
<td><code>Choose invitation method</code></td>
46+
<td>Select the method for sending password setup invitations:<br>
47+
• Email with password setup link<br>
48+
• Email with OTP code<br>
49+
• SMS with OTP code</td>
50+
</tr>
51+
<tr>
52+
<td><code>Invitation link/OTP expiry time</code></td>
53+
<td>Defines the validity period in minutes for the password setup invitation link or OTP.<br>
54+
• Set -1 for infinite validity<br>
55+
• Set 0 for immediate expiry</td>
56+
</tr>
57+
<tr>
58+
<td><code>Send account activation notification</code></td>
59+
<td>When enabled, users receive a confirmation notification after activating their account.</td>
60+
</tr>
61+
<tr>
62+
<td><code>Lock account until password is set</code></td>
63+
<td>When enabled, the system locks the user account upon creation until the user creates their password.</td>
64+
</tr>
65+
<tr>
66+
<td><code>Include uppercase letters in OTP</code></td>
67+
<td>When enabled, the generated OTP codes will include uppercase letters (A-Z).</td>
68+
</tr>
69+
<tr>
70+
<td><code>Include lowercase letters in OTP</code></td>
71+
<td>When enabled, the generated OTP codes will include lowercase letters (a-z).</td>
72+
</tr>
73+
<tr>
74+
<td><code>Include numbers in OTP</code></td>
75+
<td>When enabled, the generated OTP codes will include numeric digits (0-9).</td>
76+
</tr>
77+
<tr>
78+
<td><code>OTP code length</code></td>
79+
<td>Set the number of characters in the generated OTP codes.</td>
80+
</tr>
81+
</table>
82+
{% else %}
2083
<table>
2184
<tr>
2285
<th>Parameter</th>
@@ -39,3 +102,4 @@ For inviting users to set their password, follow these instructions:
39102
<td>Defines the validity period in minutes for the password setup code sent to users. For infinite validity period, set -1.</td>
40103
</tr>
41104
</table>
105+
{% endif %}

0 commit comments

Comments
 (0)