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)}`
}