Skip to content

Problem with AuthorizationCodeGrant (auth_flow.get_authorization_url()) #52

@si3mshady

Description

@si3mshady

The call to AuthorizationCodeGrant does not seem to work:
The Authorization url that I generate following instructions on
https://developer.uber.com/docs/drivers/tutorials/api/pythonelf.auth_flow =

AuthorizationCodeGrant(self.client_id,self.scope,self.secret,self.redirect)
self.auth_url = self.auth_flow.get_authorization_url()

returns a string as follows
https://login.uber.com/oauth/v2/authorize?scope=h+i+s+t+o+r+y&state=XpHSFELXll499LqbJUCFhScbIxm3XhZm&redirect_uri=http%3A%2F%2Flocalhost&response_type=code&client_id=<redacted_client_id>

Instead of what I receive when I access web interface and it works correctly
https://login.uber.com/oauth/v2/authorize?response_type=code&client_id=<redacted_client_id>&scope=history&redirect_uri=http://localhost

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