Skip to main content
Single Sign-On (SSO)

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

Jacques Reulet avatar
Written by Jacques Reulet
Updated over 3 months ago

⚠️ For info on SSO authentication integrations like Okta, Azure AD, etc, click here ⚠️

Overview

Automatically authenticate your users to provide a seamless feedback experience when using a Canny widget.

Or set up an SSO redirect to authenticate unidentified users.

Benefits

  • Remove hurdles for users who just want to leave feedback

  • Ensure you're hearing from the right people

  • Make Canny feel native to your product

SSO for Widgets

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 Redirects

Send a user to your site for authentication before being routed back to Canny to participate after you identify them!


Implementing SSO for widgets

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:

Canny will also send users to that URL when they click on messages from Canny.

NOTE: When an SSO token is generated, an optional exp (expiration) field can be included to expire the token at a set time.


Related Articles: 

Did this answer your question?