Closed pathikrit closed 1 year ago
Hey @pathikrit really hard to tell without a complete reproduction or the details our issues template require, but you can try the following options:
options.authorizationMethod=body
- will send credentials as part of the request's payloadoptions.bodyFormat=?
- really depends on your oauth2 providerSee: https://github.com/lelylan/simple-oauth2/blob/master/API.md#options
I'll close this, but feel free to re-open with a complete reproduction.
The following piece of code works fine:
However if I change the last lines to following:
I get following error:
This might be because the library is putting auth headers for the refresh request (see #32) but #54 was never merged.