From 07ee25675650e76bfbb783347b437c75fcd9b1ea Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 1 Jun 2021 20:10:36 -0600 Subject: [PATCH] Incorporate https://github.com/matrix-org/matrix-js-sdk/pull/1720 --- src/client.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client.ts b/src/client.ts index 8e025b522..893ddd2bd 100644 --- a/src/client.ts +++ b/src/client.ts @@ -5836,14 +5836,12 @@ export class MatrixClient extends EventEmitter { * @return {string} The HS URL to hit to begin the SSO login process. */ public getSsoLoginUrl(redirectUrl: string, loginType = "sso", idpId?: string): Promise { - let prefix = PREFIX_R0; let url = "/login/" + loginType + "/redirect"; if (idpId) { url += "/" + idpId; - prefix = "/_matrix/client/unstable/org.matrix.msc2858"; } - return this.http.getUrl(url, { redirectUrl }, prefix); + return this.http.getUrl(url, { redirectUrl }, PREFIX_R0); } /**