Request urn:matrix:api:* scope for OIDC

This commit is contained in:
Hugh Nimmo-Smith 2022-07-25 08:58:04 +01:00
parent 1366a02c7e
commit b48e6b3fb6

View File

@ -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();