Skip to content

fix: refresh token manually doesn't support scope #167

@monsignore7

Description

@monsignore7

Description

Currently, when using the manager method "refreshToken" it adds automatically the scope to the request body, but in Salesforce token endpoint the scope param is not supported :/

**EDIT
I saw that manager performs the refresh token by itself and since the methods are the same, the request fails too

Steps To Reproduce

  1. Authenticate successfully with the loginAuthorizationCodeFlow method in Salesforce
  2. Invalidate access token returned from the login
  3. Manual refresh the token with the refreshToken method

Expected Behavior

It should be possible to decide whether or not to include the scope param in request when refreshing token

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions