Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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?



MacBook Pro

Posted on Mar 6, 2023 1:06 PM

Reply
Question marked as Best reply

Posted on Oct 12, 2023 7:25 PM

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

Similar questions

59 replies

Oct 15, 2023 2:45 PM in response to soloIMac

Amazing!! Thank you this worked. The actual hard part for me was finding the original steps, I was trying to log into my gmail account through the website, but I guess I just needed to go to google.com, log into my account from there go to setting and then follow the rest of your instructions from there. Thank you again! was worried I was going to have to change computers!

Nov 19, 2023 8:24 PM in response to soloIMac

Thanks for the very rapid response!


Since the gmail password was changed, Apple Mail won't sign on. When I try to change the password, I get the same authorization error that you got. Tried to set up new account per your instructions, but got the duplicate account message. Am reluctant to delete old account from Mac and risk losing data.

Nov 19, 2023 9:08 PM in response to Jack Juni

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!

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

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.