Support

Akeeba Backup for Joomla!

#34585 Dropbox Authentication Error invalid_grant

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Monday, 22 February 2021 01:15 CST

adiehm

Β 

Trying to configure Akeeba Backup to use theΒ Post-processing engine set to Dropbox fails.Β 

Authentication - Step1 opens a pop up window with an error at the bottom

Dropbox Authentication Error invalid_grant

Dropbox reported that you did not log in correctly or did not grant Akeeba Backup the permission to access your account.

If I click on "Complete Dropbox authentication" in the pop up window I get kicked out of Joomla.

Β 

nicholas
Akeeba Staff
Manager

Can you please try clearing your browser's cache? This sounds like an issue we had fixed months ago on the JavaScript side of this integration. If your browser is still caching an older version of our JavaScript it's possible to still see that problem.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

adiehm

I tried clearing browser history, closing the browser and reopening before trying again. I even tried using a different browser. I still get the same result.

nicholas
Akeeba Staff
Manager

If you copy the access and refresh token to your Akeeba Backup configuration does it work?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager

The button to automatically copy the authentication information (access and refresh token) back to Akeeba Backup no longer works in newer browsers because of the changed default CORS settings. I have now removed the button from the page on our site, asking you to copy the information instead.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

adiehm

Yes - Copying the keys into Akeeba Back up works.

Thanks for sorting this out :)

nicholas
Akeeba Staff
Manager

You're welcome and thank you for the heads up! I last looked into that code before the last update round of browsers in early to mid February. I wasn't aware that they did change the default CORS settings and I wasn't sure about this change's impact (it's one thing reading a slightly ambiguous description on MDN and another thing seeing window.opener being null in the browser's debugging Console).

Have a great day!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!