Configuring OAuth
To configure CustomSMTP
with OAuth:
-
Fill in the
Sitecore.EDS.Providers.CustomSMTP.OAuth.config
file with the appropriate settings. -
In the
Sitecore.EDS.Providers.CustomSMTP.config
file, change"authenticationMethod"
to“OAuth”
.NoteWhen
"authenticationMethod"
is"OAuth"
, then"password"
is not used. -
In Email Experience Manager, in the left-hand menu under Administrator, click SMTP Authentication.
-
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. -
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)