Replies: 1 comment
-
So after some research I think the issue is my confusion with how authentic works with different sub-domains. I guess I had assumed that the brand would be based on the referring sub-domain but it seems that unless I setup multi-tenancy with additional auth sessions then all my apps will redirect to the single auth.mydomain.com so I guess I need to focus on styling that page. Anyone feel free to correct me if I am still getting it wrong. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I setup my first application (gethomepage.dev) successfully (I believe). But when I try to apply a custom brand I always get the default. I setup authentik via docker compose and am using NGINX Proxy Manager to forward traffic from home.mydomain.com (homepage proxy) to hostname:9000 (authentik).
Note: I am using Proxy and not forwarding auth in the Provider.
I did notice if I create a brand for auth.mydomain.com it does seem to update. It seems that when I select home.mydomain.com it redirects to auth.mydomain.com. Perhaps I'm misunderstanding how authentikk handles proxy requests from NGINX Proxy Manager.
This is my compose file for authentic (note env variables were loaded into Portainer and referenced below)
This is what I did:
Provider:
Name: Homepage
Authorization Flow: default -implicit-concent
Proxy
External host: https://home.mydomain.com (proxy host for homepage)
Internal host: http://hostname:3550
Application:
name: homepage
slug: homepage
Provider: Homepage
Policy engine mode: all
Outposts:
authentic Embedded Outpost:
Type: Proxy
Integration: none
Applications: homepage
Advanced settings:
authentik_host: https://auth.mydomain.com (proxy host for authentic)
authentik_host_browser: https://auth.mydomain.com (proxy host for authentic)
No other setting touched
Brands:
Domain: home.mydomain.com
Branding settings:
Title: homepage
Logo: /media/homepage_logo.png
No other items set.
Not sure what I'm missing. I thought It had something to do with the way the request was sent from NGINX to authentik so I played with the advanced settings in NGINIX but no difference. Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions