ONLYOFFICE / onlyoffice.github.io

ONLYOFFICE plugins. Code, resources, and styling for the Plugin Marketplace and Plugins Manager.
Apache License 2.0
129 stars 384 forks source link

authentification to mendeley with plugins not possible #121

Open benjaminvoumard opened 2 years ago

benjaminvoumard commented 2 years ago

Hello, Using ONLYOFFICE integrated into Kdrive, I cannot authenticate with Mendeley's plugin after entering the Application ID and Save. Here is the issue in the Mendeley pop-up window:

An invalid request was made by a third-party app Client authentication failed

Thank you for your help

VladimirProkofiev52 commented 2 years ago

Hello! @benjaminvoumard I've looked into your problem but unfortunately couldn't replicate it. Could you please describe the issue in more detail.

Please tell which web browser you are using?

The Mendeley Plugin currently doesn't supported by Desktop Editors. Please tell if you're having problems signing in the Mendeley Plugin through the Desktop Editors.

benjaminvoumard commented 2 years ago

@VladimirProkofiev52 sure! I opened the pre-installed Mendeley plugin, went there https://dev.mendeley.com/myapps.html , added the Redirect URL, got my application ID, pasted it into the Mendeley plugin, and cliqued Save, and finally the Mendeley pop-up window gave the following message: An invalid request was made by a third-party app Client authentication failed I am using Firefox 99.0 on Ubuntu 20.04

VladimirProkofiev52 commented 2 years ago

Hello! @benjaminvoumard Unfortunately I couldn't reproduce that.

I will describe the authorization procedure:

  1. I go to: "https://login.infomaniak.com/" and log in.
  2. I create a new document and open it.
  3. Go to the "Plugins" tab.
  4. I launch the Mendeley plugin.
  5. In the plugin window, I click the "Copy Link and Open Form" button
  6. A new page opens in the browser: "https://dev.mendeley.com/myapps.html" I log in.
  7. On the page "My Mendeley Applications" fill in the fields: 1) Application name: Test 2) Description: Test 3) Redirect URL: I paste the link from the clipboard that was copied from the plugin window in step 5. iii.i) Check the box: I accept the new Terms and Conditions. 4) Click the "Generate secret" button. 5) Press the "Submit" button.
  8. From the "My applications" section, copy the "ID" (consists of 6 digits).
  9. In brouser we return to the tab with the document and the plugin.
  10. In the plugin window, in the "Application ID" menu, paste the copied ID from step 8.
  11. Click the "Save" button.
  12. In the next window, click on the "Login" button
  13. A window opens in which you need to confirm the data. Click the "Connect Account" button.

After that, the plugin can be used. Try to repeat all the steps that I described above.

If the problem persists, please send me a screen recording of you trying to login and getting an error.

arthurbg951 commented 1 year ago

I was having same issue. But it occured because i was using "Secret" code into "Id" section on onlyoffice.

After make a correct submit into https://dev.mendeley.com/myapps.html, just copy the "Id" then past it into last configuration text box on onlyoffice.

But after doing that right i got this error (after click into Proceed with my account) on my web page:

Unable to reach this site The https://api.mendeley.com/oauth/v2/authorize page may be temporarily unavailable or may have been permanently moved to a new web address. ERR_UNSAFE_REDIRECT

Any help?

garbunus commented 1 year ago

I was having same issue. But it occured because i was using "Secret" code into "Id" section on onlyoffice.

After make a correct submit into https://dev.mendeley.com/myapps.html, just copy the "Id" then past it into last configuration text box on onlyoffice.

But after doing that right i got this error (after click into Proceed with my account) on my web page:

Unable to reach this site The https://api.mendeley.com/oauth/v2/authorize page may be temporarily unavailable or may have been permanently moved to a new web address. ERR_UNSAFE_REDIRECT

Any help?

THE SAME PROBLEM HERE

VladimirProkofiev52 commented 9 months ago

@garbunus, @arthurbg951 I'm unable to replicate your issues. Could you please provide a more detailed description or attach a screen recording demonstrating the problem?