Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.46 KB

File metadata and controls

35 lines (25 loc) · 1.46 KB

strapi-provider-email-gmail-oauth2

Note

This package is a fork of the strapi-provider-email-nodemailer-gmail-oauth2. This is to meet the new required name for Strapi Beta. Also changed the OAuth from 2LO Service to 3LO client.

Usage

  1. Enable Gmail API
  2. Create OAuth Credential
  3. Set the Authorized Redirect to https://developers.google.com/oauthplayground
  4. Take note of your Client ID and Client Secret.
  5. Navigate to https://developers.google.com/oauthplayground.
  6. In settings, activate "Use your own OAuth credentials". Copy your Client ID and Client Secret.
  7. Set scopes to https://mail.google.com.
  8. Exchange Authorization Code.
  9. Take note of Refresh and Access Token.
  10. Copy credentials in [your host]/admin/plugins/email/configurations/.
  • Optional: Use an alias as 'From' or 'Reply-To'

Resources

Links

Installation

npm i strapi-provider-email-gmail-oauth2