You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-10-26 15:51:21 +03:00
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:
committed by
GitHub
parent
5f8a390f2e
commit
36c07be889
@@ -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