You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have disabled Frigate's authentication and your proxy supports passing a header with authenticated usernames and/or roles, you can use the `header_map` config to specify the header name so it is passed to Frigate. For example, the following will map the `X-Forwarded-User` and `X-Forwarded-Role` values. Header names are not case sensitive. Multiple values can be included in the role header. Frigate expects that the character separating the roles is a comma, but this can be specified using the `separator` config entry.
115
+
If you have disabled Frigate's authentication and your proxy supports passing a header with authenticated usernames and/or roles, you can use the `header_map` config to specify the header name so it is passed to Frigate. For example, the following will map the `X-Forwarded-User` and `X-Forwarded-Groups` values. Header names are not case sensitive. Multiple values can be included in the role header. Frigate expects that the character separating the roles is a comma, but this can be specified using the `separator` config entry.
116
116
117
117
```yaml
118
118
proxy:
119
119
...
120
120
separator: "|" # This value defaults to a comma, but Authentik uses a pipe, for example.
121
121
header_map:
122
122
user: x-forwarded-user
123
-
role: x-forwarded-role
123
+
role: x-forwarded-groups
124
124
```
125
125
126
126
Frigate supports both `admin` and `viewer` roles (see below). When using port `8971`, Frigate validates these headers and subsequent requests use the headers `remote-user` and `remote-role` for authorization.
| preset-record-generic | Record WITHOUT audio | This is the default when nothing is specified |
77
-
| preset-record-generic-audio-copy | Record WITH original audio | Use this to enable audio in recordings |
78
-
| preset-record-generic-audio-aac | Record WITH transcoded aac audio | Use this to transcode to aac audio. If your source is already aac, use preset-record-generic-audio-copy instead to avoid re-encoding |
79
-
| preset-record-mjpeg | Record an mjpeg stream | Recommend restreaming mjpeg stream instead |
80
-
| preset-record-jpeg | Record live jpeg | Recommend restreaming live jpeg instead |
81
-
| preset-record-ubiquiti | Record ubiquiti stream with audio | Recordings with ubiquiti non-standard audio |
| preset-record-generic | Record WITHOUT audio | If your camera doesn’t have audio, or if you don’t want to record audio, use this option |
77
+
| preset-record-generic-audio-copy | Record WITH original audio | Use this to enable audio in recordings |
78
+
| preset-record-generic-audio-aac | Record WITH transcoded aac audio | This is the default when no option is specified. Use it to transcode audio to AAC. If the source is already in AAC format, use preset-record-generic-audio-copy instead to avoid unnecessary re-encoding |
79
+
| preset-record-mjpeg | Record an mjpeg stream | Recommend restreaming mjpeg stream instead |
80
+
| preset-record-jpeg | Record live jpeg | Recommend restreaming live jpeg instead |
81
+
| preset-record-ubiquiti | Record ubiquiti stream with audio | Recordings with ubiquiti non-standard audio |
0 commit comments