Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Authorization Header #140

Open
hbird3715 opened this issue Nov 11, 2020 · 0 comments
Open

Basic Authorization Header #140

hbird3715 opened this issue Nov 11, 2020 · 0 comments

Comments

@hbird3715
Copy link

hbird3715 commented Nov 11, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant