Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

How to get around redirect_uri: urn:ietf:wg:oauth:2.0:oob.

I changed my email for google and gmail. Now, I cannot access my email on my MacBook Pro

late 2011 version. It gives me this: redirect_uri: urn:ietf:wg:oauth:2.0:oob. I was able to sign out of mail on my iPhone and log back in with my update password, but there is nowhere on my MacBook Pro where I can sign out and sign back in with my updated password to gain back access. Any ideas?



15 replies

Mac's Mail App is not as modern as iOS's Mail app, Many eMail providers now require a separate App Password different from your eMail password…


It may just need an App Password separate from the gMail password…

https://support.google.com/mail/answer/185833?hl=en-GB

Apple Mail won't sign in to Google account - Apple Community


Note from PrestoWebDesign…

Trying to add Gmail account to Apple Mail… - Apple Community

Trying to add Gmail account to Apple Mail… - Apple Community


I found a solution to this!

- Sign into the Google Account you want to add to Apple Mail

- Go to Settings, and select Security

- Select Two-Factor Authentication, and set this up.

- Once done, at the bottom, you’ll see App Password. Select that.

- Name the app (I used Apple Mail), and generate 16 character password.

- Copy that password


I’ve seen these steps before, and tried and tried to get someone to answer my question of “now what?”, as I couldn’t find anywhere to use it.


Then I tried this and it worked:


- Open System Preferences, and select Internet Accounts

- Scroll the list up, and select “Add Other Account

- In the list, select Mail account

- Enter the Gmail address in “Email address:”

- Paste the 16 character password in “Password:”


It took a few seconds, but then the Gmail account showed up in Apple Mail!


You’ll notice it isn’t displayed as a “G” account in the list of Internet Accounts, but who cares?! It works!


I hope it works for you too!


  • 2011 iMac, High Sierra 10.13.6

Mac's Mail App is not as modern as iOS's Mail app, Many eMail providers now require a separate App Password different from your eMail password…

If it's an IMAP account, delete it in Sys Prefs Internet Accounts then use "Other" instead of gMail choice to add it.


It might just need an App Password separate from the gMail password…

Apple mail will not let me add a GMail ac… - Apple Community

https://support.google.com/mail/answer/185833?hl=en-GB

Apple Mail won't sign in to Google account - Apple Community

my iMac has OS Yosemite 10.10.5 Does this… - Apple Community

my iMac has OS Yosemite 10.10.5 Does this… - Apple Community

gmail on mail Version 11.5 (3445.9.1) - Apple Community

gmail on mail Version 11.5 (3445.9.1) - Apple Community


Note from PrestoWebDesign…

https://discussions.apple.com/thread/253701684?answerId=257151754022#257151754022

Trying to add Gmail account to Apple Mail… - Apple Community


https://blog.google/technology/safety-security/the-beginning-of-the-end-of-the-password/


As per the link...


"This was also the solution for me, also on Big Sur. As soon as the default browser was set to Safari instead of Chrome, it worked. (It's in System Preferences / General). "

To find out if it's system wide or user specific, try this...


Open System Preferences>Users & Groups, unlock the lock, click on the little plus icon, make a new admin account, log out & into the new account.


Does it work in the new account?

This solution worked for me but I was forced to delete account in "Internet Accounts" and start from scratch with creating new account in "Internet Accounts" Thank you for help!

It sure s a problem for many! :(


Open System Preferences>Users & Groups, unlock the lock, click on the little plus icon, make a new admin account, log out & into the new account.


Does it work in the new account?

For me, this problem was related to just adding the Gmail account to Apple Mail, as the account wasn’t there. I was trying to add it back after doing a restore from backup, and I could no longer add it due to this issue. I didn’t have the problem before I did that, so I’m not sure how your account login was changed on you. My understanding is Google changed the way it authenticates, and older machine’s OSX is no longer compatible. But as long as you remained logged in on Apple Mail, it shouldn’t affect you unless you logged out. If you use MAPI, and you can log in fine via a browser or an app, then removing the account and adding it back shouldn’t hurt you as the email is on the server. My local email seemed fine too as the account email address was the same. But honestly I can’t be sure. You should definitely do a backup though before trying anything like that. Good luck!

Only choices are a 3rd art Maul App like Spark, or using WebMail in a Browser at gmail.com

It depends on which operating system you are using. I had to upgrade from 10.6 to the last but one and everything worked. Had to renter poaewords.

Thanks for the reply. I tried the suggestion, but I'm not seeing a generated box to put that 16-digit code in for mail. It says my mail is offline, and when I click to take all accounts online, nothing happens. So basically, there is nowhere where a password box is generated for me to type in a password.

Yes I tried changing my browser to Safari and it still didn’t work. I cannot take all accounts online. When I click to take all accounts online, my screen flashes a few times. Because of no being able to take all accounts online, it doesn’t generate a password box.

I have the same problem. I changed my Gmail password - linked imap to my macmail - using my phone.. When I tyr to update it on macmail I get the


I have just spent 3-4 hours on the phone with a google support , and go to the stage of removing my email profile from macmail. then on trying to set it p again got the above message again. Yet mail is working fine on my iphone.


Can anyone help please......