anandslab / docker-traefik

Docker media and home server stack with Docker Compose, Traefik, Swarm Mode, Google OAuth2/Authelia, and LetsEncrypt
https://www.smarthomebeginner.com/
MIT License
2.77k stars 616 forks source link

Ombi with Oauth enabled and MobileApp Access #221

Open IrishTR opened 2 years ago

IrishTR commented 2 years ago

Hi, first off your work has enabled me to accomplish a great many things with my setup, thank you very much.

On to my question I saw previous issue where folks needed to bypass Authelia/Google OAuth for API access for things like Tautulli, Radarr, Sonarr, etc. I've got all that working great. My last hold out is the Ombi piece. Not sure what needs to happen to have OAuth enable and allow API and or the Mobile App to still function (similar to Tautulli). I tried the API bypass options used for those other apps listed but don't seem to be making headway and not sure where to begin tracking down if its something I need to tweak or just not feasible.

Thank you.

IrishTR commented 2 years ago

ombi: image: linuxserver/ombi:latest container_name: ombi restart: unless-stopped networks:

robflate commented 2 years ago

Haven't checked on this in a while but Traefik used to throw errors and quietly fail when adding those headers to Ombi.

Not as secure but you could bypass;

- "traefik.http.routers.ombi-rtr-bypass.rule=Host(`ombi.$DOMAINNAME`) && PathPrefix(`/api/`)"
uasdj25 commented 2 years ago

Yep, I was told on Ombi discord a while back that it wasn't feasible with Google Oauth. There is, however, the ability to use Plex Oauth that is embedded within the app. I haven't gone back, so this might not be the case anymore (the inability to leverage oauth from Google through Traefik), but to my knowledge not doable. I have it just using oauth from Plex.