Skip to content

complete view scope error #17

@yhvh

Description

@yhvh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions