File "flask/app.py", line 1511, in wsgi_app
response = self.full_dispatch_request()
File "flask/app.py", line 919, in full_dispatch_request
rv = self.handle_user_exception(e)
File "flask/app.py", line 917, in full_dispatch_request
rv = self.dispatch_request()
File "flask/app.py", line 902, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
File "invenio_oauthclient/views/client.py", line 174, in authorized
return _authorized(remote_app)
File "invenio_oauthclient/views/client.py", line 167, in _authorized
return handler()
File "invenio_oauthclient/handlers/utils.py", line 52, in decorated
return f(*((data,) + args), **kwargs)
File "invenio_oauthclient/handlers/utils.py", line 34, in inner
return f(args[0], remote, *args[1:], **kwargs)
File "invenio_oauthclient/handlers/ui.py", line 103, in inner
return _oauth_error_handler(remote, _f, *args, **kwargs)
File "invenio_oauthclient/handlers/ui.py", line 52, in _oauth_error_handler
return f(remote, *args, **kwargs)
File "invenio_oauthclient/handlers/ui.py", line 148, in authorized_signup_handler
next_url = authorized_handler(resp, remote, *args, **kwargs)
File "invenio_oauthclient/handlers/authorized.py", line 54, in authorized_handler
token = response_token_setter(remote, resp)
File "invenio_oauthclient/handlers/token.py", line 74, in response_token_setter
raise OAuthResponseError("Bad OAuth authorized request", remote, resp)
OAuthResponseError: Bad OAuth authorized request
Version:
v5.1.0Going through the login OAuth flow with GitHub, results the following exception: