Closed a-thaler closed 5 years ago
The credentials section should look like this:
"credentials": {
"basic": {
"username": "admin",
"password": "nimda"
}
},
added "auth" element to apis in config that has one of three values : ["oauth" , "basic", "none"]
Besides OAUth2 we need to support basic auth as well. So introduce an attribute like "auth":"none|basic|oauth2" and then register either client secrets or basic auth secrets for the API or no secrets at all. Furthermore, assure that the mocks are respecting that setting and validate the hardcoded secrets at API requests