diff --git a/webhooks/config.go b/webhooks/config.go index d35f07e09904414d354bfcd1f4cf2ac576ba261a..a381eb4cad356eebeb2f6776956a696f1edcc69d 100644 --- a/webhooks/config.go +++ b/webhooks/config.go @@ -41,6 +41,8 @@ return AuthConfig{}, fmt.Errorf("Native webhooks are not supported with web authentication") case auth.AUTH_INTERNAL: // TODO: Should this work? panic("Internal webtoken auth is not supported") + case auth.AUTH_WEBHOOK: + panic("Recursive webhook auth is not supported") } panic("Unreachable") }