View previous topic :: View next topic |
Author |
Message |
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Thu Jun 09, 2022 6:12 am Post subject: Evolution and gmail oauth2 secrets working? [Solved] |
|
|
Anyone use evolution with gmail and have oauth2 working?
Looks like google is requiring oauth2 now and I'm locked out of my gmail (thankfully I don't have much mail going there, though some is kind of critical). I tried setting evolution authentication to google-oauth2 but evolution just errors out:
Code: | Failed to open folder.
The reported error was “Failed to authenticate: OAuth2 secret not found”. |
I suspect it should have open a window or something to ask me to enter my google password but it doesn't seem to do so before giving me that error in Evolution. Normally I run xfce4 but tried it in Gnome but no dice, at least hoping that my dead monitor didn't pick up any dialog boxes.
Is this working for anyone? Suspecting something depending on webkit-gtk is used to get oauth2 working.
Is there any Linux non-webclient mail client working with gmail without app passwords which no longer works for me? Worth to try Thunderbird or something else?
---
Edit:
Running seahorse I see I really don't have oauth for google, but have one for openstreetmap. I do recall this getting set up when I tried gnome-maps and this seems to work, so it might be an evolution problem? mail-client/evolution-3.44.1 ...
---
Since I'm mainly using xfce4, I ended up using the workaround by setting USE=oauth for gnome-extra/evolution-data-server though gnome-online-accounts should have worked. Oh well! _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Last edited by eccerr0r on Thu Jun 09, 2022 3:31 pm; edited 1 time in total |
|
Back to top |
|
|
spica Apprentice
Joined: 04 Jun 2021 Posts: 285
|
Posted: Thu Jun 09, 2022 2:04 pm Post subject: |
|
|
Check USE flags for gnome-extra/evolution-data-server |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Thu Jun 09, 2022 2:15 pm Post subject: |
|
|
Code: | $ equery uses evolution-data-server | hand-munge-output
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for gnome-extra/evolution-data-server-3.44.1:
U I
+ + gnome-online-accounts : Enable net-libs/gnome-online-accounts based Google
authentication support
- - oauth : Enable internal OAuth2 authentication support for
Google and Outlook.com. If gnome-online-accounts
is enabled and used, this is not necessary, but
both can be supported at the same time with
different setup at runtime
|
hmm... might need to try internal oauth2 but supposedly gnome-online-accounts should be sufficient, no? (After all, gnome-maps seems to work... though not with google specifically.) _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
spica Apprentice
Joined: 04 Jun 2021 Posts: 285
|
Posted: Thu Jun 09, 2022 2:19 pm Post subject: |
|
|
Without "oauth" gmail did not work on my laptop
Edit: I do not run GNOME, just use evolution. Maybe, in GNOME the only one flag "gnome-online-accounts" works, but in my case I have to keep enabled both.
I do not create accounts in GOA, but I create them in evolution |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Thu Jun 09, 2022 3:32 pm Post subject: |
|
|
Thanks, I tried USE=oauth and looks like this indeed is one way to work around the issue, though goa should have worked...
Good enough! _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 2957 Location: Edge of marsh USA
|
Posted: Fri Jun 10, 2022 3:56 am Post subject: |
|
|
Thunderbird continues to work well with Google app password. Likewise, K-9 Mail for Android also works with app password. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Fri Jun 10, 2022 4:54 am Post subject: |
|
|
Not sure why account got app password completely disabled and was forced to go oauth2.
perhaps it's because i refuse to give them a phone number? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3131
|
Posted: Fri Jun 10, 2022 11:30 am Post subject: |
|
|
eccerr0r google has been announcing this for a few months.
They claim it's not secure enough.
I claim it's a bullshit excuse.
How exactly did you make it work? I'd like to keep my mail client working until I'm ready to move completely to my own server. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Fri Jun 10, 2022 2:21 pm Post subject: |
|
|
I don't know for sure why some peoples' app passwords are still working (I was using account password before that, even). I was using it at one point but it seemed to have expired at the end of last month. As spica said, USE=oauth was needed as a workaround to some gnome-online-accounts issue with my machine, then evolution would work just fine with its internal oauth processing.
Now I was trying to get alpine to work with oauth2, and unfortunately think it's more trouble than it's worth...
Yes I mainly use my own personal dovecot server for mail when I can, though it doesn't have the advantages of multiple accounts' worth of spam to compare and filter... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|