Open thijscobben opened 8 years ago
This URL should lead to a descriptive error message. https://b2share.eudat.eu/api/oauth/authorized/b2access/?error_description=Access+denied+by+resource+owner+or+authorization+server&state=...&error=access_denied#_=_
Note that the original report is not valid anymore, this is now leading to a non-descriptive 500 error on B2SHARE.
I authenticate via Facebook. I am presented (after logging in with Facebook or if logged in with facebook) with a screen asking specific permissions. I click Reject. I am presented with an error:
invenio_oauthclient.errors.OAuthRejectedRequestError invenio_oauthclient.errors.OAuthRejectedRequestError: ('User rejected request.', <b2share.modules.oauthclient.b2access.B2AccessOAuthRemoteApp object at 0x10d010ba8>, None)
... irrelevant exception stack skipped ...
File "/Users/thijscobben/.virtualenvs/b2share-evolution/lib/python3.5/site-packages/invenio_oauthclient/handlers.py", line 68, in response_token_setter raise OAuthRejectedRequestError('User rejected request.', remote, resp) invenio_oauthclient.errors.OAuthRejectedRequestError: ('User rejected request.', <b2share.modules.oauthclient.b2access.B2AccessOAuthRemoteApp object at 0x10d010ba8>, None)