ARTIFACTORY: Verifying Email Notifications for Token Expiry Functionality

AuthorFullName__c
Pruthvi R B
articleNumber
000006009
FirstPublishedDate
2024-01-29T12:54:36Z
lastModifiedDate
2025-07-22

ARTIFACTORY: Verifying Email Notifications for Token Expiry Functionality

In this article, we will learn about verifying Email Notifications for Token Expiry Functionality
To ensure the effective functioning of email notifications for token expiration, please follow these steps:


1.  Enabling Email Notifications:
Access the UI via Administration → Security → Settings. Once there, activate email notifications for token expiry. Users will then receive advance email notifications based on the configured Notice Period Before Tokens Expire (Days).

2.  Confirmation Steps:
To confirm that email notifications for Identity Tokens and Access Tokens are operational, perform the following steps:
  • Navigate to Administration | User Management | Settings.
  • Adjust the Notice Period Before Tokens Expire to 1 Day.
  • Set the Time of Daily Token Expiration Check to an early time (5 minutes from the current time).

User-added image

Create a Custom Access Token:
  • Create an access token by going to Administration → User Management → Access Tokens.
  • Generate a custom token with a validity period of 25 hours.

User-added image
 

Check Your Inbox:

After the designated Time of Daily Token Expiration Check has passed, check your inbox for the expected email notification.

User-added image

Note: 
Configuring a mail server is only available in self-hosted environments. You can refer to our official documentation to set up Mail server.

Cloud environments use a predefined mail server and do not have this option. Hence, this setting will not be available in the Web UI.

Currently, customizing the format of the email content and subject line is not supported.
Common Issues and Resolutions:

Address any encountered problems with the following steps:

  • Under Administration → User Management, ensure the user who created the token has a valid email address associated.
  • For service account users wishing to receive emails, ensure a valid user email address is attached.

By following these steps diligently, you can confirm the functionality of email notifications for token expiration and promptly address any potential issues.