-
-
Notifications
You must be signed in to change notification settings - Fork 534
Description
Currently apprise supports gmail via App Passwords. However Google does not recommend use of app passwords any more.
Instead it recommends App Authorization via OAuth 2.0 or Sign In with Google.
https://support.google.com/accounts/answer/185833?hl=en
Rclone is a reference example of an open source project that uses App Authorization to access Google APIs (gdrive) on behalf of a Google Account user.
The specific use case that prompted this feature request is this: IoT device (Ambianic edge) sending email notification to users, who manage their IoT device via an UI app (Ambianic UI). Via the Google App Authorization flow , users can enable gmail notifications with a few clicks. The UI app will push the gmail authorization code to the IoT device, which will in turn pass it to apprise to obtain a gmail access token to be used in future notification requests from that device.
Google API documentation with the details of this flow: