Skip to content
Discussion options

You must be logged in to vote

I can see a typo in your configuration that's preventing Frigate from reading the role header correctly.

In your Frigate config, you have:

role: xX-Token-User-Roles

But your Caddy logs show the header as:

"X-Token-User-Roles": ["viewer super_admin user"]

You have an extra "x" at the beginning - it should be:

auth:
  enabled: false

proxy:
  default_role: admin
  separator: " "
  header_map:
    user: X-Token-User-Email
    role: X-Token-User-Roles

However, there's another important consideration. The header X-Token-User-Roles is not one of the default permitted headers in Frigate (1). You may need to ensure this header is properly whitelisted.

The standard header name for roles with prox…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by longhtran91
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment