Users cannot change their email address associated with their account in Sanity.io.

3 replies
Last updated: May 16, 2024
Basic question: Can users change which email their account is associated with? (i.e. our company uses a URL at .org and will soon switch to .com and want to make sure that users creating sanity accounts will be able to update their accounts to match the change in primary email addresses)
AI Update

Unfortunately, users cannot change the email address associated with their Sanity account. The email address and authentication provider are directly tied to an account and cannot be modified after creation.

For your company's transition from .org to .com email addresses, here's what you'll need to do:

The workaround:

  1. Each user will need to create a new Sanity account using their new .com email address
  2. Once the new account is created, invite that new account to all relevant projects and organizations
  3. Assign the appropriate roles and permissions to the new account
  4. After verifying everything works with the new account, you can remove the old .org account from your projects

Important considerations:

  • Project ownership: If someone with a .org email is a project owner, you'll need to transfer project ownership to the new .com account. Administrators can manage project ownership through the Manage interface.
  • Organization membership: Organization administrators can manage members and ensure the new accounts have the correct access levels
  • Billing: If the old account is tied to billing information, make sure to update that with the new account before removing the old one

For Enterprise customers with SSO: If your company uses SAML SSO, you might be able to coordinate this transition more smoothly by updating your identity provider configuration to use the new email domain, which would automatically affect authentication for Sanity.

This is admittedly not ideal for a company-wide email migration, but it's the current limitation of how Sanity accounts work. The good news is that once you invite the new accounts and set up their permissions, the transition should be straightforward for each user.

No, email address and auth provider are directly tied to an account. You can’t change either. You can create a new account with the email address you want to use and invite that to your projects, though.
Thanks for the quick reply
You’re welcome!

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?