Configuring OAuth

Version: 10.4

To configure CustomSMTP with OAuth:

  1. Fill in the Sitecore.EDS.Providers.CustomSMTP.OAuth.config file with the appropriate settings.

  2. In the Sitecore.EDS.Providers.CustomSMTP.config file, change "authenticationMethod" to “OAuth” .

    Note

    When "authenticationMethod" is "OAuth", then "password" is not used.

  3. In Email Experience Manager, in the left-hand menu under Administrator, click SMTP Authentication.

  4. On the SMTP Authentication page, click Authenticate.

    The OAuth token is saved in the Tokens item. When authentication has completed, a notification message is displayed.

  5. To see the OAuth token. open File Explorer, and go to System, Settings, Email, System, and click Tokens.

The token item contains information about:

  • An access token (a value, an expiration date, a lifetime in seconds, and a reserved time in seconds)

  • A refresh token (a value)

Do you have some feedback for us?

If you have suggestions for improving this article,