You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-05 00:42:10 +03:00
Merge branch 'develop' of github.com:matrix-org/matrix-js-sdk into t3chguy/ts/12
Conflicts: src/client.ts src/interactive-auth.ts src/models/search-result.ts
This commit is contained in:
@@ -264,9 +264,7 @@ export class InteractiveAuth {
|
||||
client_secret: this.clientSecret,
|
||||
};
|
||||
if (await this.matrixClient.doesServerRequireIdServerParam()) {
|
||||
const idServerParsedUrl = url.parse(
|
||||
this.matrixClient.getIdentityServerUrl(),
|
||||
);
|
||||
const idServerParsedUrl = new URL(this.matrixClient.getIdentityServerUrl());
|
||||
creds.id_server = idServerParsedUrl.host;
|
||||
}
|
||||
authDict = {
|
||||
@@ -294,7 +292,7 @@ export class InteractiveAuth {
|
||||
|
||||
/**
|
||||
* get the client secret used for validation sessions
|
||||
* with the ID server.
|
||||
* with the identity server.
|
||||
*
|
||||
* @return {string} client secret
|
||||
*/
|
||||
|
Reference in New Issue
Block a user