got frigate working, need to figure out roles but thats good for now

This commit is contained in:
TheWanderingCrow 2025-12-05 13:05:19 -05:00
parent df055ff43b
commit b5f3463ee2
2 changed files with 14 additions and 8 deletions

View file

@ -122,10 +122,12 @@
cookie insecure off
}
authorization policy mypolicy {
authorization policy frigate {
set auth url /caddy-security/oauth2/generic
allow roles frigate
inject headers with claims
inject header Remote-User from name
inject header Remote-Role from groups
}
}
'';