Description of the bug
Authorizing Zonodo often fails with the error invalid_grant. It can be reproduced somewhat consistently, but it also succeeds at times, making the authorization process unreliable.
Steps to reproduce the bug:
Go to Account & Settings page.
Go to the Authorized Repositories tab.
Try to authorize and deauthorize Zenodo multiple times.
Authorization will often fail with the error invalid_grant.
Expected behavior
Authorization and deauthorization work as expected.
Description of the bug Authorizing Zonodo often fails with the error
invalid_grant
. It can be reproduced somewhat consistently, but it also succeeds at times, making the authorization process unreliable.Steps to reproduce the bug:
invalid_grant
.Expected behavior Authorization and deauthorization work as expected.
Additional information Zenodo OAuth 2.0 endpoints:
From https://zenodo.org/account/settings/applications/, click on item under Developer applications.
DSP configuration: https://github.com/cznethub/dspback/blob/develop/dspback/routers/repository_authorization.py#L37 https://github.com/cznethub/dspback/blob/develop/dspback/config/__init__.py#L115
Approach:
authlib
dependencies to a newer version.