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

[Feature] Basic Authentication support for restroom-mw HTTP endpoint #69

Open
sigsalerno opened this issue Jan 11, 2022 · 1 comment
Open

Comments

@sigsalerno
Copy link

Specifying username:password@host according to rfc3986 to an endpoint basic auth is configured: https://username:password@example.org/post

auth parameters must be added to the axios post request configuration:

const response = await axios.post(url, r);

username and password can be retrived through the URL() constructor

@puria
Copy link
Member

puria commented Jan 11, 2022

Thanks, @sigsalerno 🤩 plz proceed with a PR, should be trivial. If you need support just give a little whistle.

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

2 participants