Can anyone assist with telling me how to set _customHeaders in the TnsOAuthClientConnection (as used in the _createRequest function) or where/how to call getAuthHeaderFromCredentials which specifically looks for the basicAuthHeader property of the provider.
Any assistance would be greatly appreciated.
Thank you!
Hi,
I'm creating a custom provider for AWS Cognito, and receiving a 400 status code when attempting to exchange the code for the access token. /oauth2/token required an Authorization header. https://docs.aws.amazon.com/cognito/latest/developerguide/token-endpoint.html
Can anyone assist with telling me how to set _customHeaders in the TnsOAuthClientConnection (as used in the _createRequest function) or where/how to call getAuthHeaderFromCredentials which specifically looks for the basicAuthHeader property of the provider.
Any assistance would be greatly appreciated. Thank you!