mail icon indicating copy to clipboard operation
mail copied to clipboard

Add Google OAuth support

Open ChristophWurst opened this issue 3 years ago • 2 comments

Fixes https://github.com/nextcloud/mail/issues/6454

Todo

  • [x] Show Sign in with Google
  • [x] Properly restructure setup procedure to work well with fully automatic, manual and mixed setups https://github.com/nextcloud/mail/pull/6831
  • [x] Save Google's refresh and access token after successful redirection back
  • [x] If necessary update access token before an IMAP client is built
  • [ ] Make sure the browser doesn't block the Google popup
  • [x] Check/fix account update procedure
  • [x] Handle closed popup
  • [ ] Handle failed/cancelled user consent
  • [ ] Admin settings page UI
  • [ ] Any other edge cases
  • [ ] Test migration from app password to oauth
  • [ ] Test migration from broken account (login password) to oauth

ChristophWurst avatar Jul 04 '22 15:07 ChristophWurst

Note to self: merge+making it work is in commit e93971446091f049bd373d7180073505cecfa115

ChristophWurst avatar Jul 08 '22 12:07 ChristophWurst

This branch is becoming a bit hard to manage. I'm extracting the generic parts into separate PRs:

  • REST API changes: https://github.com/nextcloud/mail/pull/7420
  • DB changes: https://github.com/nextcloud/mail/pull/7421

ChristophWurst avatar Oct 13 '22 09:10 ChristophWurst

Superseded by https://github.com/nextcloud/mail/pull/7430

ChristophWurst avatar Oct 31 '22 13:10 ChristophWurst