fix(oci): point the Authentik summary to the first-run setup

akadmin has no password until it is created in the setup wizard, which
opens from the root address. The summary now says so instead of reporting
a password that could not be retrieved.
This commit is contained in:
MacRimi
2026-10-31 09:45:27 +01:00
parent 6968409ae5
commit ed2a696c01
4 changed files with 16 additions and 26 deletions
+1
View File
@@ -4890,6 +4890,7 @@
"Open the dashboard from this host on port 8008 to create a new admin account.": "Otvorte dashboard z tohto servera na porte 8008 a vytvorte nový admin účet.", "Open the dashboard from this host on port 8008 to create a new admin account.": "Otvorte dashboard z tohto servera na porte 8008 a vytvorte nový admin účet.",
"Open the dashboard to create a new admin account:": "Otvorte dashboard a vytvorte nový admin účet:", "Open the dashboard to create a new admin account:": "Otvorte dashboard a vytvorte nový admin účet:",
"Open the page of an application in the menu": "Otvoriť stránku aplikácie v ponuke", "Open the page of an application in the menu": "Otvoriť stránku aplikácie v ponuke",
"Open the web address and create the password of the akadmin user in the first-run setup.": "Otvorte webovú adresu a v prvotnom nastavení vytvorte heslo používateľa akadmin.",
"Open-source AI-powered coding assistant": "Programátorský asistent využívajúci AI s otvoreným zdrojovým kódom", "Open-source AI-powered coding assistant": "Programátorský asistent využívajúci AI s otvoreným zdrojovým kódom",
"Open-source UI for building and debugging multi-agent and RAG applications": "Rozhranie s otvoreným zdrojovým kódom na tvorbu a ladenie aplikácií s viacerými agentmi a RAG", "Open-source UI for building and debugging multi-agent and RAG applications": "Rozhranie s otvoreným zdrojovým kódom na tvorbu a ladenie aplikácií s viacerými agentmi a RAG",
"Open-source in-memory data store.": "Úložisko údajov v pamäti s otvoreným zdrojovým kódom.", "Open-source in-memory data store.": "Úložisko údajov v pamäti s otvoreným zdrojovým kódom.",
+5 -11
View File
@@ -462,16 +462,7 @@
"source": "official-compose" "source": "official-compose"
} }
], ],
"credentials": [ "credentials": []
{
"label": "Initial administrator account",
"type": "static-default",
"username": "akadmin",
"password": null,
"change_required": true,
"source": "Authentik documentation; set the akadmin password during the first-run setup"
}
]
}, },
"proxmox": { "proxmox": {
"runtime": "native-oci-lxc", "runtime": "native-oci-lxc",
@@ -561,7 +552,10 @@
], ],
"custom_compose_stack": true, "custom_compose_stack": true,
"custom_compose_interpolated": false, "custom_compose_interpolated": false,
"stack_image_entrypoints": {} "stack_image_entrypoints": {},
"stack_completion_notes": [
"Open the web address and create the password of the akadmin user in the first-run setup."
]
}, },
"compatibility": { "compatibility": {
"automatic_install_candidate": true, "automatic_install_candidate": true,
+5 -11
View File
@@ -462,16 +462,7 @@
"source": "official-compose" "source": "official-compose"
} }
], ],
"credentials": [ "credentials": []
{
"label": "Initial administrator account",
"type": "static-default",
"username": "akadmin",
"password": null,
"change_required": true,
"source": "Authentik documentation; set the akadmin password during the first-run setup"
}
]
}, },
"proxmox": { "proxmox": {
"runtime": "native-oci-lxc", "runtime": "native-oci-lxc",
@@ -561,7 +552,10 @@
], ],
"custom_compose_stack": true, "custom_compose_stack": true,
"custom_compose_interpolated": false, "custom_compose_interpolated": false,
"stack_image_entrypoints": {} "stack_image_entrypoints": {},
"stack_completion_notes": [
"Open the web address and create the password of the akadmin user in the first-run setup."
]
}, },
"compatibility": { "compatibility": {
"automatic_install_candidate": true, "automatic_install_candidate": true,
+5 -4
View File
@@ -153,12 +153,13 @@ class AuthentikRecipeTests(unittest.TestCase):
self.assertNotIn("frontend", services["postgresql"]) self.assertNotIn("frontend", services["postgresql"])
def test_first_run_discloses_the_initial_admin_setup_without_faking_a_password(self): def test_first_run_discloses_the_initial_admin_setup_without_faking_a_password(self):
# akadmin has no password until it is created in the setup wizard,
# which opens from the root address.
first_run = self.curated["first_run"] first_run = self.curated["first_run"]
self.assertEqual(first_run["endpoints"][0]["port"], 9000) self.assertEqual(first_run["endpoints"][0]["port"], 9000)
credential = first_run["credentials"][0] self.assertEqual(first_run["endpoints"][0]["path"], "/")
self.assertEqual(credential["username"], "akadmin") self.assertEqual(first_run["credentials"], [])
self.assertIsNone(credential["password"]) self.assertIn("akadmin", self.curated["proxmox"]["stack_completion_notes"][0])
self.assertTrue(credential["change_required"])
if __name__ == "__main__": if __name__ == "__main__":