Skip to content

Conversation

@levensailor
Copy link

Add Authorization option in ctx setup and handling in http module

Added Basic Authentication in "Authorization: Basic <base64 hash of user:pass>"
Added examples of Basic Authentication via Auth Token
@levensailor
Copy link
Author

Using this on one of my projects and had to edit a bit since SOAP is not much of a standard, any options i add, i'll pull into here

@chrisgh1
Copy link
Contributor

@levensailor
Looks like you have a minor error in your readme.md file.
authorization: "Basic: "+authToken"

I think you wanted it to be:
"Basic: " + authToken

PS thanks for the update hopefully @yaronn will merge your changes.

@chrisgh1
Copy link
Contributor

Just wanted to also put this here that using the format http://username:[email protected] in the ctx json for the url element may be all that is needed for basic auth. still wouldn't hurt for @levensailor commit to be merged into the project.

@jbaris
Copy link

jbaris commented May 12, 2020

+1 for this PR

@levensailor
Copy link
Author

fixed the formatting

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

Successfully merging this pull request may close these issues.

3 participants