Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Bug: mishandled extraRefreshParams #28

@chasecaleb

Description

@chasecaleb

If extraRefreshParams are provided, then the grant_type, refresh_token, and client_id are no longer sent.

Permalink to bug in master:

if (extraRefreshParams) {
body = `${url}&${OAuth2AuthCodePKCE.objectToQueryString(extraRefreshParams)}`
}

I think this should actually be (untested):

 if (extraRefreshParams) { 
   body = `${body}&${OAuth2AuthCodePKCE.objectToQueryString(extraRefreshParams)}` 
 } 

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