EUDAT-B2SHARE / b2share

B2SHARE software for the EUDAT CDI services.
https://b2share.eudat.eu
GNU General Public License v2.0
35 stars 33 forks source link

B2Access Reject (from Facebook) #973

Open thijscobben opened 8 years ago

thijscobben commented 8 years ago

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)

thijscobben commented 6 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#_=_

thijscobben commented 6 years ago

Note that the original report is not valid anymore, this is now leading to a non-descriptive 500 error on B2SHARE.