I'm using macOS High Sierra on a MacBoook Pro.
In System Preferences/Internet Accounts, clicking on 'Google' results in
===
Authorisation Error
Error 400: invalid_request
You can't sign in to this app because it doesn't comply with Google's
OAuth 2.0 policy for keeping apps secure.
You can let the app developer know that this app doesn't comply with one
or more Google validation rules.
Learn more
Request Details
The content in this section has been provided by the app developer. This content has not been reviewed or verified by Google. If you’re the app developer, make sure that these request details comply with Google
policies.
redirect_uri: urn:ietf:wg:oauth:2.0:oob
One workaround is to use an 'app password', which generates a fresh password for each app that wants to connect to Google. You can set an app password using these instructions (among others): https://www.getmailbird.com/gmail-app-password/
Note that to enable app passwords you also need to have two factor authentication on your Google account, so you may have to enable that too.
On 22 Feb 2023 at 19:53:16 GMT, "Theo" <theom...@chiark.greenend.org.uk> wrote:
One workaround is to use an 'app password', which generates a fresh passwordThis is how I did it, since I decided that I couldn't be bothered to implement
for each app that wants to connect to Google. You can set an app password using these instructions (among others): https://www.getmailbird.com/gmail-app-password/
Note that to enable app passwords you also need to have two factor authentication on your Google account, so you may have to enable that too.
OAuth2 in my email client. Enable 2FA in Goodgle, get an app-specific password, and use that in the client as password. Works like a charm.
--
Tim
On Wednesday, 22 February 2023 at 21:06:28 UTC, TimS wrote:
On 22 Feb 2023 at 19:53:16 GMT, "Theo" <theom...@chiark.greenend.org.uk>
wrote:
One workaround is to use an 'app password', which generates a fresh passwordOAuth2 in my email client. Enable 2FA in Goodgle, get an app-specific
for each app that wants to connect to Google. You can set an app password >>> using these instructions (among others):
https://www.getmailbird.com/gmail-app-password/
Note that to enable app passwords you also need to have two factor
authentication on your Google account, so you may have to enable that too. >> This is how I did it, since I decided that I couldn't be bothered to implement
password, and use that in the client as password. Works like a charm.
Thanks to Theo and Tim for the suggestions.
TFA was on already.
I followed suggestions and generated app passwords the apps for all the Google
services I am using, mail, calendar, and notes, deleted the accounts by unchecking them in their System Preferences panes then added them again. They are working.
At no point was I asked for an app password.
But if I try to add an account for any of the apps above it goes to the System
Preferences/Internet Accounts screen and then behaves as in my original message -- it seems to be a problem between System Preferences app and Google authorisation.
In fact, if I just start System Preferences/Internet Accounts and click on Google in the list of possible service providers -- iCloud, Exchange, Twitter etc -- it fails with the above authorisation error, and no app has been involved.
But if I try to add an account for any of the apps above it goes to the System Preferences/Internet Accounts screen and then behaves as in my original message -- it seems to be a problem between System Preferences
app and Google authorisation.
Google in the list of possible service providers -- iCloud, Exchange,
Twitter etc -- it fails with the above authorisation error, and no app has been involved.
Kit Powell <kit.p...@gmail.com> wrote:
But if I try to add an account for any of the apps above it goes to the System Preferences/Internet Accounts screen and then behaves as in my original message -- it seems to be a problem between System PreferencesThe key here is you aren't adding a Google account to your Mac, you're
app and Google authorisation.
adding an 'other provider' type of account. One which just happens to name Google's IMAP/SMTP servers as the place to contact. The Google account support in High Sierra evidently doesn't work any more, but the 'other' support, being standards-based, should still work.
Google in the list of possible service providers -- iCloud, Exchange, Twitter etc -- it fails with the above authorisation error, and no app has been involved.'app' is a red herring here. Google call them 'app passwords' but really they're just secondary passwords that allow access to a certain subset of features (your mail, but not your Google Pay), and which you can revoke at a later date without changing your primary password. You need to configure
the settings for your 'other provider' account using these passwords.
Theo
On Thursday, 23 February 2023 at 11:54:16 UTC, Theo wrote:
Kit Powell <kit.p...@gmail.com> wrote:
But if I try to add an account for any of the apps above it goes to the System Preferences/Internet Accounts screen and then behaves as in my original message -- it seems to be a problem between System Preferences app and Google authorisation.The key here is you aren't adding a Google account to your Mac, you're adding an 'other provider' type of account. One which just happens to name Google's IMAP/SMTP servers as the place to contact. The Google account support in High Sierra evidently doesn't work any more, but the 'other' support, being standards-based, should still work.
Google in the list of possible service providers -- iCloud, Exchange, Twitter etc -- it fails with the above authorisation error, and no app has'app' is a red herring here. Google call them 'app passwords' but really they're just secondary passwords that allow access to a certain subset of features (your mail, but not your Google Pay), and which you can revoke at a
been involved.
later date without changing your primary password. You need to configure the settings for your 'other provider' account using these passwords.
TheoThank you both so much for your help -- that worked a treat.
I think I shall from now on not talk about being between a rock and a hard place but between Apple and Google.
Kit
Not getting any joy with calendars, though. From Calendar I try to add an account, selecting Other CalDAV Account, then picking Manual. Put my
Gmail ID, the app password generated from the Google Accounts page, and
the secret server address found in my Google Calendar settings. 'Unable
to verify account name or password', it says. I've tried the public
server address, and putting in the Google Calendar CalDAV address, too.
Nix.
Kit Powell <kit.p...@gmail.com> wrote:
Not getting any joy with calendars, though. From Calendar I try to add an account, selecting Other CalDAV Account, then picking Manual. Put myI had a bit of trouble setting up a Google Calendar via CalDAV in iOS (Settings -> Calendar -> Accounts -> Add Account -> Add subscribed calendar) but it did work in the end. My 'server' setting looks like:
Gmail ID, the app password generated from the Google Accounts page, and the secret server address found in my Google Calendar settings. 'Unable
to verify account name or password', it says. I've tried the public
server address, and putting in the Google Calendar CalDAV address, too. Nix.
calendar.google.com/calendar/ical/me%40example.com/private-[long_hex_string]/basic.ics
where m...@example.com is the address on the Google account. This URL came from somewhere in my Google calendar settings. There is no username or password - I think the long hex string is effectively the password.
Theo
Selecting Other CalDAV Account gives a choice of Automatic, Manual and Advanced. Automatic just asks for email address and password and results
in Unable to verify account name or password. Manual asks for username
and password (as above) and Server Address, for which I inserted the
address given in the Google Calendar settings Integrate Calendar option,
of the same form as your example (calendar.google.com/calendar/ical/...). This fails with either of the app password or my real Google account password.
Stumped.
Kit Powell <kit.p...@gmail.com> wrote:
Selecting Other CalDAV Account gives a choice of Automatic, Manual and Advanced. Automatic just asks for email address and password and results
in Unable to verify account name or password. Manual asks for username
and password (as above) and Server Address, for which I inserted the address given in the Google Calendar settings Integrate Calendar option,
of the same form as your example (calendar.google.com/calendar/ical/...). This fails with either of the app password or my real Google account password.
Stumped.What happens if you just use the server address with empty username and password? That works for me on iOS.
(although mine's a Google-for-work account that has no Gmail, if that makes
a difference - it uses other credentials for login so there's no Google account password, and it doesn't have any app passwords)
Theo
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 170:26:49 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,559 |