···6969 };
70707171 oidc = {
7272+ # ensure there is no circle dependency
7373+ # Caddy depends on Headscale being available to start if the tailscale plugin is used.
7474+ # But Headscale depends on Authelia that may be behind such a Caddy instance.
7575+ # when both Headscale and Authelia are on the same host, connect directly
7676+ # maybe use a different caddy instance for tailnet related services
7277 only_start_if_oidc_is_available = true;
7373- issuer = "https://auth.wiro.world";
7878+ # issuer = "https://auth.wiro.world";
7979+ issuer = "http://localhost:${config.local.ports.authelia.string}";
7480 client_id = "headscale";
7581 client_secret_path = config.age.secrets.headscale-oidc-secret.path;
7682 scope = [