feat(desktop): use healthchat:// deep-link scheme instead of element://

Switch the friendly deep-link / legacy SSO callback scheme from element://
to healthchat:// and stop registering element:// entirely. The reverse-DNS
OIDC primary scheme (ch.healthchat.desktop://) is unchanged. Also rebrand the
round-tripped SSO id param element-desktop-ssoid -> healthchat-desktop-ssoid
on both the desktop and web sides.
This commit is contained in:
2026-06-23 15:09:30 +02:00
parent 05705a8983
commit eee3275f0c
5 changed files with 12 additions and 12 deletions
@@ -83,7 +83,7 @@ describe("ElectronPlatform", () => {
it("should return oidc client state as expected", async () => {
const platform = new ElectronPlatform();
await platform.getConfig();
expect(platform.getOidcClientState()).toMatchInlineSnapshot(`":element-desktop-ssoid:session-id"`);
expect(platform.getOidcClientState()).toMatchInlineSnapshot(`":healthchat-desktop-ssoid:session-id"`);
});
it("dispatches view settings action on preferences event", () => {