Sticker Widget Loading Error with own Integration Server
See original GitHub issueDescription
Using the riot desktop electron app for linux it is not possible (for some accounts) to use the sticker widget with my own integration server. The same account in the riot-web can use the sticker at the same integration server, while other users in the riot electron linux app are also able to use them.
Steps to reproduce
(Not working for every account)
- Install riot electron app
- configure
config.json
and update integeration server urls - login and try to open the sticker widget in any room
Describe how what happens differs from what you expected.
In riot-web I get a “popup” window to allow to verify my identity to the integration server. it is missing in the app with my account. With the js console I received the following errors:
bundle.js:2 Non-scalar manager, not setting scalar token! {parse: ƒ, resolve: ƒ, resolveObject: ƒ, format: ƒ, Url: ƒ}
and
bundle.js:2 Uncaught (in promise) Error: No matching user widget to form security key
at Function.getWidgetSecurityKey (bundle.js:2)
at d._onOpenIdRequest (bundle.js:2)
at m.onPostMessage (bundle.js:2)
Things I tried to solve this issue:
- deleting the
m.widget
content using the/devtools
- dis- and re-enable the integration server
- empty cache and reload
Version information
- Platform: desktop in comparison to the web app
For the web app:
- Browser: Firefox
- OS:
Linux 5.3.0-46-generic #38-Ubunt 2020 x86_64 x86_64 x86_64 GNU/Linux
- URL: riot-web version:
c4f3d39d4229-react-c4f3d39d4229-js-c4f3d39d4229
olm version: 3.1.3
For the desktop app:
- OS:
Linux 5.3.0-46-generic #38-Ubunt 2020 x86_64 x86_64 x86_64 GNU/Linux
- Version: riot-web version: 1.5.15 olm version: 3.1.3
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:15 (8 by maintainers)
Top Results From Across the Web
Sticker Widget Loading Error with own Integration Server
This looks to be caused by recent rework on widget URL construction. Doesn't look like the integration manager is at fault here (yet)....
Read more >Widget troubleshooting guide
Use the following tools to investigate and resolve unexpected behavior in your custom Service Portal widgets.
Read more >How to Fix the 'Preview Could Not Be Loaded' Error - Elementor
Go to your WP Admin > Settings > Permalinks section, select the Plain option, click Save Changes, and see if this helped. When...
Read more >How to trap the Error in a UI Widget - OpenText Forums
In this case the framework loads successfully but the modal error you see comes from the FolderBrowserWidget when it fetches the node after...
Read more >Solve Load and Import Errors | Mendix Documentation
Describes how to solve problems that may occur when opening an app.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Right, I can reproduce this now. The key missing part was
Non-scalar widget, not setting scalar token!
which is a bit of an awkward line. It’s saying that the integration manager in the config doesn’t match the sticker picker, so it is refusing to give it the security token. Later, Dimension requests the token explicitly and that falls apart.Unless your error is different, should be fine without. Thanks.