athena-oss / athena

An automation platform with a plugin architecture that allows you to easily create and share services.
https://athena-oss.github.io/athena/
Apache License 2.0
92 stars 25 forks source link

Basic authentication support #35

Closed yael-lorenzo closed 7 years ago

yael-lorenzo commented 7 years ago

It could be great to have basic authentication support and set the parameters in the athena.json file.

pproenca commented 7 years ago

Hey @yael-lorenzo-olx

Could you please elaborate more? Could you provide some examples or use cases?

yael-lorenzo commented 7 years ago

After using it, it is a bit hard to think of multi purpose model to do it. Perhaps this is for documentation and just as an informative case.

We are using the FluentRequestInterface to create the WEB requests and it has a function withBasicAuth($username, $password);

We are loading from athena.json file the user and pwd to set this up.