Quokka
Quokka
HHomarr
Created by Quokka on 7/14/2024 in #💬・get-help
Custom 404 page?
I'm trying to create a custom 404 page for Homarr. Is this possible?
9 replies
HHomarr
Created by Quokka on 6/23/2024 in #💬・get-help
Help with Authentik
Today I tried creating a Homarr server using OIDC login per these instructions. I added an OAuth2/OpenID provider in Authentik called Homarr with a redirect URI https://quokka.wiki, and an application called Homarr with slug homarr and with the previously made Homarr provider. I then made my Docker compose like so:
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
environment:
AUTH_PROVIDER: oidc
AUTH_LOGOUT_REDIRECT_URL: ${AUTH_LOGOUT_REDIRECT_URL}
AUTH_OIDC_URI: ${AUTH_OIDC_URI}
AUTH_OIDC_CLIENT_ID: ${AUTH_OIDC_CLIENT_ID}
AUTH_OIDC_CLIENT_SECRET: ${AUTH_OIDC_CLIENT_SECRET}
AUTH_OIDC_CLIENT_NAME: "Authentik"
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- /portainer/Files/AppData/Config/Homarr/configs:/app/data/configs
- /portainer/Files/AppData/Config/Homarr/icons:/app/public/icons
- /portainer/Files/AppData/Config/Homarr/data:/data
ports:
- '7575:7575'
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
environment:
AUTH_PROVIDER: oidc
AUTH_LOGOUT_REDIRECT_URL: ${AUTH_LOGOUT_REDIRECT_URL}
AUTH_OIDC_URI: ${AUTH_OIDC_URI}
AUTH_OIDC_CLIENT_ID: ${AUTH_OIDC_CLIENT_ID}
AUTH_OIDC_CLIENT_SECRET: ${AUTH_OIDC_CLIENT_SECRET}
AUTH_OIDC_CLIENT_NAME: "Authentik"
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- /portainer/Files/AppData/Config/Homarr/configs:/app/data/configs
- /portainer/Files/AppData/Config/Homarr/icons:/app/public/icons
- /portainer/Files/AppData/Config/Homarr/data:/data
ports:
- '7575:7575'
With AUTH_LOGOUT_REDIRECT_URL being https://auth.mydomain.example/application/o/homarr/end-session/. Now what I'm most confused about is whether AUTH_OIDC_URI should be https://auth.mydomain.example/application/o/authorize/ or https://auth.mydomain.example/application/o/token/. I tried both and neither worked. Now when I try to log in with Authentik, it redirects to http://localhost:7575/api/auth/error?error=OAuthSignin. This should not happen.
13 replies