Autoapprove Element Call oidc requests (#11209)
* autoapprove Element Call oidc requests Signed-off-by: Timo K <toger5@hotmail.de> * update comment Signed-off-by: Timo K <toger5@hotmail.de> * add tests for oidc element-call Signed-off-by: Timo K <toger5@hotmail.de> * fix ES lint Signed-off-by: Timo K <toger5@hotmail.de> --------- Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
parent
ab972ddea9
commit
58710d129d
2 changed files with 22 additions and 1 deletions
|
@ -165,6 +165,14 @@ export class StopGapWidgetDriver extends WidgetDriver {
|
|||
WidgetEventCapability.forToDeviceEvent(EventDirection.Receive, eventType).raw,
|
||||
);
|
||||
}
|
||||
|
||||
// To always allow OIDC requests for element call, the widgetPermissionStore is used:
|
||||
SdkContextClass.instance.widgetPermissionStore.setOIDCState(
|
||||
forWidget,
|
||||
forWidgetKind,
|
||||
inRoomId,
|
||||
OIDCState.Allowed,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue