mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-24 20:14:53 +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() {
|
async startOIDCLogin() {
|
||||||
const deviceScope = this._api.generateDeviceScope();
|
const deviceScope = this._api.generateDeviceScope();
|
||||||
const p = this._api.generateParams({
|
const p = this._api.generateParams({
|
||||||
scope: `openid ${deviceScope}`,
|
scope: `openid urn:matrix:api:* ${deviceScope}`,
|
||||||
redirectUri: this.urlCreator.createOIDCRedirectURL(),
|
redirectUri: this.urlCreator.createOIDCRedirectURL(),
|
||||||
});
|
});
|
||||||
const clientId = await this._api.clientId();
|
const clientId = await this._api.clientId();
|
||||||
|
Loading…
Reference in New Issue
Block a user