Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

complete view scope error #17

Open
yhvh opened this issue Nov 2, 2018 · 0 comments
Open

complete view scope error #17

yhvh opened this issue Nov 2, 2018 · 0 comments

Comments

@yhvh
Copy link

yhvh commented Nov 2, 2018

On attempting a login, when we are redirected to the complete view we fail.

Response:
{u'error': u'The request requires higher privileges than provided by the access token', u'status': 403}

This line should likely contain at least the scope needed to complete.

return NokiaAuth(creds.client_id, creds.consumer_secret, callback_uri)

Since the default provided by python-nokia is user.metrics
https://github.com/orcasgit/python-nokia/blob/fd4951da6bb51d2e2893339032207b96070c4c79/nokia/__init__.py#L66

I propose this is a configurable value with a sensible default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant