Using OAuth to authenticate with an email server
When you are using the EmailInput or EmailOutput nodes in IBM® App Connect Enterprise 12.0.11 (or later), you can authenticate with an email server by using the OAuth (Open Authorization) standard.
About this task
To use the OAuth capability, you must define a security identity by using the mqsicredentials command. For the EmailInput node, you must define a security identity of
credential type email
, and specify values for the client-id
and access-token parameters. For the EmailOutput node, you must
define a security identity of credential type smtp
, and specify values for the
client-id and access-token parameters.
The method for generating an access token depends upon your email provider, but typically involves generating a Client ID and Client Secret, which you can then use to generate the access token. The following instructions include details of how to generate an access token with a personal Gmail account: