mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-24 12:04:57 +01:00
Request urn:matrix:api:* scope for OIDC
This commit is contained in:
parent
1366a02c7e
commit
b48e6b3fb6
@ -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