0.1.0 • Published 2 years ago

strapi-provider-email-gmail-oauth2-v4 v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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.

Updated to @strapi/utils for use with strapi v4.

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. 4) Navigate to https://developers.google.com/oauthplayground. 5) In settings, activate "Use your own OAuth credentials". Copy your Client ID and Client Secret. 6) Set scopes to https://mail.google.com. 7) Exchange Authorization Code. 8) Take note of Refresh and Access Token. 9) 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