mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
got frigate working, need to figure out roles but thats good for now
This commit is contained in:
parent
df055ff43b
commit
b5f3463ee2
2 changed files with 14 additions and 8 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue