Fix OIDC delegated auth account url check (#12242)
* Fix OIDC delegated auth account url check Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -37,7 +37,9 @@ export class OidcClientStore {
|
||||
if (this.authenticatedIssuer) {
|
||||
this.getOidcClient();
|
||||
} else {
|
||||
this._accountManagementEndpoint = getDelegatedAuthAccountUrl(matrixClient);
|
||||
matrixClient.waitForClientWellKnown().then((wellKnown) => {
|
||||
this._accountManagementEndpoint = getDelegatedAuthAccountUrl(wellKnown);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user