Skip to content

req_oauth_auth_code fails to start authorization code flow when refresh token has expired #713

Open
@omuelle

Description

@omuelle

req_oauth_auth_code should start the authorization code flow when the refresh token has expired. Instead it gives the following error:

Error in oauth_flow_abort():
! OAuth failure [invalid_grant]
• Token is not active

To reproduce:

  • Start a new R session
  • Call req_oauth_auth_code, authenticate in browser
  • Wait until refresh token has expired
  • Call req_oauth_auth_code again

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