Skip to content

How to refresh access_token via refresh_token (instead of code) after access_token gained via oauth is expired= #162

@marfrede

Description

@marfrede

How is it possible to refresh my token when I already haven my asana.Client (oauth)

In the fist step I gained the access_token via the method fetch_token (asana.Client.session.fetch_token)
Then I found the methods refresh_token from request_oauthlib.OAuth2Session.
This method though is not implemented by the child class asana.AsanaOAuth2Session

So asana.AsanaOAuth2Session implements fetch_token but not refresh_token. Why is that and how can I refresh the token then??

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