From b48e6b3fb6ba8efd5b1d7091bf68c5154a592444 Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Mon, 25 Jul 2022 08:58:04 +0100 Subject: [PATCH] Request urn:matrix:api:* scope for OIDC --- src/domain/login/StartOIDCLoginViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/login/StartOIDCLoginViewModel.js b/src/domain/login/StartOIDCLoginViewModel.js index d6424f74..4189e581 100644 --- a/src/domain/login/StartOIDCLoginViewModel.js +++ b/src/domain/login/StartOIDCLoginViewModel.js @@ -48,7 +48,7 @@ export class StartOIDCLoginViewModel extends ViewModel { async startOIDCLogin() { const deviceScope = this._api.generateDeviceScope(); const p = this._api.generateParams({ - scope: `openid ${deviceScope}`, + scope: `openid urn:matrix:api:* ${deviceScope}`, redirectUri: this.urlCreator.createOIDCRedirectURL(), }); const clientId = await this._api.clientId();