Widget + SSO
If you company has SSO enabled it's highly recommended you configure your widget to use SSO so your customers can vote, comment and submit ideas straight from the widget.
Get your widget code
Once SSO is enabled, your widget code snippet will include an option for an SSO token.
<!-- Frill Widget (https://frill.co) --> <script> window.Frill_Config = window.Frill_Config || []; window.Frill_Config.push({ key: 'YOUR_WIDGET_KEY', ssoToken: 'SSO_FRILL_TOKEN_FROM_SERVER', }); </script> <script async src="https://widget.frill.co/v2/widget.js"></script> <!-- End Frill Widget --><br>
Same for embedded widgets:
<!-- Frill Widget (https://frill.co) --> <div data-frill-widget="YOUR_WIDGET_KEY" data-frill-sso="SSO_FRILL_TOKEN_FROM_SERVER" style="width: 340px; height: 460px;"></div> <script async src="https://widget.frill.co/v2/widget.js"></script> <!-- End Frill Widget --><br>
Replace the SSO Token
Replace SSO_FRILL_TOKEN_FROM_SERVER with the Frill User Token (JWT) you generate on the server.
Please note that SSO_FRILL_TOKEN_FROM_SERVER is NOT the SSO Key from the settings page.
See our getting started guide for more help setting up SSO.