Compare commits

...

4 Commits

Author SHA1 Message Date
Michael Telatynski
a0b4c1f15c Merge remote-tracking branch 'origin/t3chguy/oidc-cb-url-ec-universal-links' into t3chguy/oidc-cb-url-ec-universal-links 2025-03-13 09:33:49 +00:00
Michael Telatynski
ee68639b11 Strip no_universal_links after auth
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-03-13 09:33:43 +00:00
Michael Telatynski
ed873f4b09 Merge branch 'develop' into t3chguy/oidc-cb-url-ec-universal-links 2025-03-13 09:31:07 +00:00
Michael Telatynski
e4a953d0c8 Add ?no_universal_links=true to OIDC cb url so EX doesn't try to handle it
This is specific to macOS and only affects cases where auth is attempted in the non-default browser

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-03-06 13:14:08 +00:00
2 changed files with 2 additions and 0 deletions

View File

@@ -466,6 +466,7 @@ export default abstract class BasePlatform {
// The redirect URL has to exactly match that registered at the OIDC server, so
// ensure that the fragment part of the URL is empty.
url.hash = "";
url.searchParams.set("no_universal_links", "true");
return url;
}

View File

@@ -43,6 +43,7 @@ function onTokenLoginCompleted(): void {
// a little nasty but let's redirect to clear them.
const url = new URL(window.location.href);
url.searchParams.delete("no_universal_links");
url.searchParams.delete("loginToken");
url.searchParams.delete("state");
url.searchParams.delete("code");