Skip to content

Add ?no_universal_links=true to OIDC cb url so EX doesn't try to handle #29439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/BasePlatform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
1 change: 1 addition & 0 deletions src/vector/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Loading