1
0
Fork 0

[vaultwarden] allow no auth for other endpoint

This commit is contained in:
ibizaman 2023-02-21 00:12:35 -08:00
parent 394899ad6d
commit d941763daa

View file

@ -189,7 +189,7 @@ rec {
egress = [ "http://127.0.0.1:${toString serviceIngress}" ]; egress = [ "http://127.0.0.1:${toString serviceIngress}" ];
realm = sso.realm; realm = sso.realm;
allowed_roles = [ "user" "/admin|admin" ]; allowed_roles = [ "user" "/admin|admin" ];
skip_auth_routes = [ "^/api" ]; skip_auth_routes = [ "^/api" "^/identity/connect/token" ];
inherit metricsPort; inherit metricsPort;
keys = { keys = {
cookieSecret = "${serviceName}_oauth2proxy_cookiesecret"; cookieSecret = "${serviceName}_oauth2proxy_cookiesecret";