mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
Request urn:matrix:api:* scope for OIDC
This commit is contained in:
parent
154bae239a
commit
391e696bed
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user