Skip to main content
By default, Suggix uses its own independent user authentication system. You can enable Single Sign-On (SSO) to provide a more seamless experience for users when submitting and managing feedback in Suggix.
1

Get SSO Private Key

Go to your Suggix Dashboard → Settings → Developer to locate your SSO private key."private_key"
Store this key securely on your server. Never expose it in client-side code or share it publicly.
2

Generate the SSO token on your server

Generate a JWT on your server using your user data, following the example below. Generate the token on your server
3

Redirect to the Suggix portal with the SSO token

Redirect the user to the Suggix portal and include the ssoToken as a query parameter. Suggix will automatically verify the token and sign the user in.Example:
https://feedback.yourwebsites.com/?ssoToken=eyJhbGciOiJIUzI1NiJ9
4

Configure Login Redirect URL and Home Redirect URL

Configure the Login Redirect URL in the SSO Settings page to redirect users to your website for authentication when they are not logged in.
After configuring the Login Redirect URL, the login button in the Suggix portal will redirect users to the specified Login Redirect URL and include a return URL parameter. Once the user has successfully signed in on your website, redirect them back to the Suggix feedback portal with the generated ssoToken.Example:https://yourwebsite.com/login?redirect=https://feedback.yourwebsite.com
Configure the Home Redirect URL to allow users to quickly return to your website from the Suggix feedback portal.