Skip to main content

How do magic links work, and what steps should I follow after changing the tenant domain in Drata?

Understanding Magic Links and Domain Migration in Drata

Authentication and login processes are critical for maintaining secure and seamless access to your Drata account. This article explains how magic links work and outlines the steps to follow after changing your tenant domain.

Magic Links: Usage and Configuration

Magic links are a convenient way to log in to your Drata account without needing a password. Here’s how they work:

  • Validity Period: Magic links are valid for 24 hours from the time they are issued or until they are used once, whichever comes first.

  • Configuration: The duration of magic links is not configurable.

  • Session Duration: After logging in via a magic link, users can remain signed in for up to 14 days through a browser session cookie. However, if an account access expiration is set, it will override the 24-hour magic link window.

Steps to Follow After Changing the Tenant Domain

When you update your tenant domain in Drata, it’s essential to ensure a smooth transition for Single Sign-On (SSO) and user synchronization. Follow these steps:

  1. Connect the New Identity Provider (IdP): After updating the domain, link the new IdP to your Drata account.

  2. Run a Sync: Perform a synchronization to update user records. Ensure that the identity attribute selected for sync (e.g., UPN or Email in Microsoft 365/Entra) matches the primary email stored in each user’s Drata record. This prevents duplicate entries.

  3. Scope the Connection: Limit the synchronization to the intended group of users.

  4. Review and Adjust: After the first sync, check the Personnel page for any unexpected duplicates. Mark duplicates as "Out of scope" to preserve compliance history.

By following these steps, you can ensure that your domain migration and SSO setup are completed without issues.

Related Topics

  • Troubleshooting Magic Link Issues

  • Managing SSO Connections in Drata

  • Best Practices for User Synchronization

Did this answer your question?