Reset Security Token for Salesforce Integration User

A man playing a classic chinese bowed intrstument playing for passers by.

In the Spring ’23 release Salesforce added the Integration User License. They provide 1 or more free licenses to all Enterprise, Unlimited, Performance, and Developer Edition orgs. They can be a little tricky to setup, but are incredibly useful for integrations since they give you a free way to connect 3rd party applications where “best practice” had previously required buying a full license for each integration point.

But because they have no user interface access there is no clear path to reset the security token (in fact Salesforce says you cannot do it, although it’s listed as on Roadmap). There is a way to get this done, it just requires that you have Login As permission.

  1. Go to Setup -> Users, and find the Integration user for which you need to reset the security token.
  2. Click Login next to the user.
  3. You will be logged into org using the Salesforce Classic Interface. Which you may, or may not, remember how to use for this process.
  4. Click the User Menu in the top right corner
  5. Click My Settings
  6. Click Personal
  7. Click Reset My Security Token
  8. Click Reset Security Token

And from there Salesforce should email you the new token.

It is worth noting this is not best practice. Best Practice is to use the OAuth JWT Bearer flow or the OAuth Client Credentials which don’t require the tokens. But not all tools are setup to use those flows, so the tokens are still useful.

When Salesforce completes providing a direct mechanism it should be better than this process, but until then you can happily reset tokens as needed.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.