Single Sign-On (SSO)

What is single sign-on (SSO) and how to implement it

Sarah Hum avatar
Written by Sarah Hum
Updated over a week ago

Overview

Single sign-on (SSO) will automatically authenticate your users to provide a seamless feedback experience when using a Canny widget.

With SSO enabled, a user will not have to log into Canny or identify themselves. They'll just be able to click and leave feedback.


⚠️ SSO currently only works with Canny Widgets ⚠️


Implementing SSO

1. The first step is to install the web widget into your product.

2. Once that's complete, you can follow the steps here. You'll need to:

a. Install a JWT library

b. Generate tokens on your server
c. Validate your SSO Token

3. Lastly, go to the Boards tab in your Canny settings and select Widget to add the URL where you're embedding the Canny widget:

Here is the URL Canny will send users when they click on messages from Canny. It's the page where you'll have the Canny board enabled.

Note that when you generate the SSO token, you can optionally include an exp (expiration) field which will expire the token at a set time. If it’s included, we honor the expiry, but it’s optional to include that expiration time.

Need help? Shoot us a message anytime!


Related Articles: 

Did this answer your question?