Email templates
The module sends two emails. Each email has a default template file. You can make a custom template in the admin.
SSO Forgot Admin Password
Section titled “SSO Forgot Admin Password”Magento sends this email instead of the password reset link, when an SSO-managed user asks for a new password. The email tells the user to sign in through SSO, and gives the admin login URL.
| Item | Value |
|---|---|
| Template ID | admin_visus_sso_forgot_email_template |
| File | view/adminhtml/email/sso_password_notice.html |
| Setting | SSO Forgot Password Email Template |
| Variable | Description |
|---|---|
{{var username}} |
The name of the account holder. |
{{var login_url}} |
The admin login URL. |
{{var store.frontend_name}} |
The name of the store. |
SSO Service Provider Certificate Expiry
Section titled “SSO Service Provider Certificate Expiry”The visus_admin_sso_notify_sp_key_expiry cron job sends this email before the service provider certificate expires, and at the expiry. Refer to Expiry warnings.
| Item | Value |
|---|---|
| Template ID | admin_visus_sso_sp_key_expiry_email_template |
| File | view/adminhtml/email/sp_key_expiry_notice.html |
| Setting | Service Provider Certificate Expiry Email Template |
| Variable | Description |
|---|---|
{{var title}} |
The title of the notice. It is also the subject. |
{{var description}} |
The description of the notice. |
{{var key_id}} |
The ID of the service provider key. |
{{var expires_at}} |
The expiry time of the certificate. |
{{var days_left}} |
The number of days until the certificate expires. |
{{var keys_url}} |
The admin URL of the service provider keys. |
{{var store.frontend_name}} |
The name of the store. |
Customize a template
Section titled “Customize a template”-
Go to Marketing > Communications > Email Templates.
-
Click Add New Template.
-
In Template, select SSO Forgot Admin Password or SSO Service Provider Certificate Expiry.
-
Click Load Template.
-
Enter a Template Name, and change the content.
-
Click Save Template.
-
Go to Stores > Configuration > Advanced > Admin > Visus Single Sign-On.
-
In the setting of the email, select your new template.
-
Click Save Config.