-
Notifications
You must be signed in to change notification settings - Fork 2
As a service provider I want to provide a default integration manager for users with accounts on a homeserver instance I manage #8
Comments
This issue probably solves our whitelist concerns. Widgets could use MSC1960 to get tokens instead of a whitelist. Maybe we need an MSC for ToS exchange (so clients can render prompts natively rather than expect widgets to match up UI/UX) |
Today, we have 'whitelists' in the Riot apps. These whitelists decide whether the client is happy to send a scalar token (== poorly-named integration manager authentication token) to a given widget. In Riot Web, this whitelist is configured manually, in In Riots Mobile, this whitelist is provided in the build configuration (so effectively hard-coded in the apps as downloaded from the app/play store). The mobile apps also 'whitelist' requests to the domain on which the integration manager is hosted (so if you have an auth token for the integration manager at integrations.acme.com, your client will send that auth token to widgets hosted on integrations.acme.com/whatever). Dimension and Scalar react to the absence of authentication tokens differently. Scalar shows So I think we have five possible options ahead of us:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Implementation Details
The end result of the above changes is:
At the same time as making no changes to support this in Riot, we will be pushing for the resolution of the |
My choice of default integration manager is presented to all Riot users using my homeserver
integrations_jitsi_widget_url
configuration option (in which case the client will use that jitsi instance regardless of what the service provider wishes)FORBIDDEN
(until Scalar implements MSC1960FORBIDDEN
when opening their sticker picker. This can be fixed manually using /devtools, and Dimension tries to fix it automatically too, but falls foul of an incidental Riot web bug in which sticker pickers don't remountKNOWN BUG: Dimension tokens might get leaked to Scalar. If a user tries to render a Scalar widget, Scalar will (we think) be sent the Dimension access token (@turt2live is considering whether this can be resolved trivially)The text was updated successfully, but these errors were encountered: