Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

OAuth2 "400 redirect_uri does not match the Callback URL"

  • 2 cavab
  • 3 have this problem
  • 1 view
  • Last reply by sfhowes

more options

Hello! Windows 11 22H2 22621.1555 + Thunderbird 102.10.1 (64-bit) I face a problem with Yandex mailbox with the following authentication settings: smtp.yandex.com:465 SSL/TLS OAuth2 The "Enter credentials" window gives --- 400 redirect_uri does not match the Callback URL defined for the client --- after logging into account. The address in the window is https://oauth.yandex.com/authorize?response_type=code&client_id=...&redirect_uri=http%3A%2F%2Flocalhost&scope=mail%3Aimap_full I removed the client_id but "localhost" is authentic and suspicious. What can cause the problem?

Hello! Windows 11 22H2 22621.1555 + Thunderbird 102.10.1 (64-bit) I face a problem with Yandex mailbox with the following authentication settings: smtp.yandex.com:465 SSL/TLS OAuth2 The "Enter credentials" window gives --- 400 redirect_uri does not match the Callback URL defined for the client --- after logging into account. The address in the window is https://oauth.yandex.com/authorize?response_type=code&client_id=...&redirect_uri=http%3A%2F%2Flocalhost&scope=mail%3Aimap_full I removed the client_id but "localhost" is authentic and suspicious. What can cause the problem?
Attached screenshots

All Replies (2)

more options

I have this problem too

more options

If it doesn't work with OAuth2, try 'normal password' authentication with an app password.

https://yandex.com/support/mail/mail-clients/mozilla-thunderbird.html

https://support.mozilla.org/en-US/questions/1309883