axios-oauth-client icon indicating copy to clipboard operation
axios-oauth-client copied to clipboard

[REG 2.0->2.1] Token failure when client_id and/or client_secret is undefined

Open orgads opened this issue 11 months ago • 0 comments

Since the default export of oauth has been removed, all the parameters must be passed to clientCredentials. But if client_id or client_secret is undefined, it is passed as a stringified "undefined" in the request, which fails it.

Undefined params should be stripped before sending the request.

orgads avatar Nov 10 '24 10:11 orgads