Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Bruederli
609e41a05f Finalize oauth integration:
- remove debug logs
- add button icons for oauth login with Google and Microsoft
2020-06-16 08:17:52 +02:00
Thomas Bruederli
dd9b5c0ee6 Fix redirects 2020-06-16 08:17:52 +02:00
Thomas Bruederli
06af3b5ef5 Add example configs for Gmail and Outlook
+ Added option `oauth_login_redirect`
+ Custom styles for Google login button
2020-06-16 08:17:52 +02:00
Thomas Bruederli
5da7708f34 Improve OAuth2 login procedure
... as suggested in issue #6933

* add config option `oauth_verify_peer`
* add config option `oauth_identity_fields`
* do not mask access token in session data
* fix refresh token handling
* use a redirect URL without query parameters
2020-06-16 08:17:52 +02:00
Thomas Bruederli
1e6a2f4f49 Basic support for OAuth2 user login and IMAP/SMTP authentication
- Add "Login with XXX" button to login screen if oauth is configured
- Perform OAuth login procedure and get an access token
- Implement XOAUTH2 authentication type for IAMP and SMTP

Requires a patched and not yet released version of Net_SMTP.
2020-06-16 08:17:52 +02:00