Default ExtAuth Response
When running Gate as an ExtAuth service, you can define whether Gate should allow or deny requests as default.
If not specified, the default response is deny.
Note that Gate will only use the default ExtAuth response value if:
- no plugins are configured globally AND
- no plugins are configured for the spefic URL in the request
- Environment variables
- HCL
- JSON
- TOML
- YAML
GATE_DEFAULT_EXT_AUTH_RESPONSE=allow
gate = {
default = {
ext_auth_response = "allow"
}
// ...
}
{
"gate": {
"default": {
"ext_auth_response": "allow"
},
// ...
[gate.default]
ext_auth_response = "allow"
gate:
default:
ext_auth_response: allow