Files
invoiceninja5_ynh/manifest.toml
T
dillard a59cb4ead3 fix: disable SSO auth header injection for main permission
Invoice Ninja manages its own authentication and does not integrate with
YunoHost SSO for the main web UI. When auth_header is enabled (the
default), SSOwat injects an 'Authorization: Basic' header containing the
YunoHost user's credentials into every proxied request. Invoice Ninja
receives this header and attempts to use it for authentication; since
YunoHost users do not exist in Invoice Ninja's own database, this causes
a silent login loop: the app briefly loads before redirecting back to
the login page.

The api permission already correctly sets auth_header = false (needed
for mobile app and API token access). This commit applies the same fix
to the main permission for consistency and to restore web UI login.

The app already declares sso = false and ldap = false, making
auth_header = false the consistent and expected setting.
2026-07-06 03:43:33 +02:00

86 lines
2.3 KiB
TOML

#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "invoiceninja5"
name = "InvoiceNinja 5"
description.en = "Create and email invoices, track payments, expenses, and time tasks"
description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires"
version = "5.13.26~ynh1"
maintainers = ["Sebastian Gumprich"]
[upstream]
license = "Elastic-2.0"
website = "https://invoiceninja.org"
demo = "https://react.invoicing.co/demo"
admindoc = "https://invoiceninja.github.io/"
userdoc = "https://invoiceninja.github.io/"
code = "https://github.com/invoiceninja/invoiceninja"
[integration]
yunohost = ">= 12.1.38"
helpers_version = "2.1"
architectures = "all"
multi_instance = true
ldap = false
sso = false
disk = "50M"
ram.build = "200M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.language]
ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application"
type = "select"
choices = ["fr", "en"]
default = "fr"
[install.admin]
type = "user"
[install.password]
type = "password"
[resources]
[resources.sources]
[resources.sources.main]
url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.13.26/invoiceninja.tar"
sha256 = "be344fc3977394b7defda1bf636f33d42108b4045bb310e5aa91176749666dbc"
format = "tar.gz"
in_subdir = false
autoupdate.strategy = "latest_github_release"
autoupdate.asset = "invoiceninja.tar$"
[resources.system_user]
[resources.install_dir]
group = "www-data:r-x"
[resources.permissions]
main.url = "/"
main.auth_header = false
api.url = "/api"
api.allowed = "visitors"
api.auth_header = false
api.show_tile = false
[resources.apt]
packages = "mariadb-server, php8.4-bcmath, php8.4-gmp, php8.4-fileinfo, php8.4-gd, php8.4-mbstring, php8.4-pdo, php8.4-xml, php8.4-curl, php8.4-zip, php8.4-mysql, libnss3-dev, libatk1.0-0, libatk-bridge2.0-0, libxcomposite1, libxrandr2, libasound2, libcups2, libdrm2, libxkbcommon0, libxdamage1, libxfixes3, libgbm1, libpango-1.0-0, libcairo2, chromium"
[resources.database]
type = "mysql"