mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 00:36:46 +00:00
This plugin can be tested as a stand-alone Golang app, or deployed as a Docker image with the following image: openfaas/basic-auth-plugin:0.1.0 Signed-off-by: Alex Ellis <alexellis2@gmail.com>
454 B
454 B
auth plugins
Auth plugins must implement request checking on a HTTP port and path such as :8080/validate
.
- Valid requests: return 2xx
- Invalid requests: return non 2xx
It is up to the developer to pick whether a request body is required for validation. For strategies such as Basic Authentication, headers are sufficient.
Plugins available: