Plex/Tautulli/Overseerr with custom scope mapping in Authentik #2
Replies: 3 comments
-
Here is how I created the scope mapping and added it to the provider:
Expression = I used the "Plex" code you posted here: #1
|
Beta Was this translation helpful? Give feedback.
-
FWIW: Here is my middleware: http:
middlewares:
authentik:
forwardauth:
address: https://auth.DOMAIN_NAME_HERE.com/outpost.goauthentik.io/auth/traefik
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username
- X-authentik-groups
- X-authentik-email
- X-authentik-name
- X-authentik-uid
- X-authentik-jwt
- X-authentik-meta-jwks
- X-authentik-meta-outpost
- X-authentik-meta-provider
- X-authentik-meta-app
- X-authentik-meta-version and my organizr labels: labels:
- "traefik.enable=true"
- "traefik.http.routers.organizr.rule=Host(`organizr.${DOMAINNAME_CLOUD_SERVER}`)"
- "traefik.http.routers.organizr.middlewares=authentik@file"
- "traefik.http.routers.organizr.service=organizr"
- "traefik.http.services.organizr.loadbalancer.server.port=80"
- "traefik.http.services.organizr.loadbalancer.passHostHeader=true" |
Beta Was this translation helpful? Give feedback.
-
For Organizr, I didn't use any scope mapping for it (and didn't search a lot tbh), as I found it was much simpler to do it using a Proxy auth. In Authentik, the provider is a Proxy Provider, set to I think your middleware and Organizr labels are fine though. |
Beta Was this translation helpful? Give feedback.
-
Can you explain how you did that (simply starting with organizr)? Rght now I access my external organizr url, authenticate with plex through authentik and then I'm stuck at the organizr login page (where I can click "login with plex" to login - which is the extra step I want to avoid). Thanks
Provider:
Beta Was this translation helpful? Give feedback.
All reactions