If `extraRefreshParams` are provided, then the `grant_type`, `refresh_token`, and `client_id` are no longer sent. Permalink to bug in master: https://github.com/BitySA/oauth2-auth-code-pkce/blob/89f3893ba6a2a5d4fa9da6b4476efd8d1cd6dca5/index.ts#L388-L390 I think this should actually be (untested): ```js if (extraRefreshParams) { body = `${body}&${OAuth2AuthCodePKCE.objectToQueryString(extraRefreshParams)}` } ```
If
extraRefreshParamsare provided, then thegrant_type,refresh_token, andclient_idare no longer sent.Permalink to bug in master:
oauth2-auth-code-pkce/index.ts
Lines 388 to 390 in 89f3893
I think this should actually be (untested):