To add single sign-on to a feedback portal, your server signs a short JSON Web Token (JWT) with a secret key from the feedback tool, and your app passes that token to the portal. The portal reads the token, logs the user in as themselves, and every post, vote and comment is tied to a real customer account instead of a guest.

This guide walks through how that works in FeatureOS, which payload fields are worth sending, and the mistakes to avoid. Every field and URL below comes from our own help center and was checked on 16 November 2026.

Why bother with SSO on a feedback board?

Without SSO, customers have to create a second account on your feedback portal, or post as guests. Many won't bother, and the ones who do show up as an email address with no context.

With SSO, the customer who is already logged in to your product lands on the board already signed in. Their vote carries their name and any attribute you choose to send, such as plan or region. That is what makes it possible to sort requests by who is asking, which we covered in prioritizing feature requests by customer segment.

For customers who arrive through SSO, the vote comes from an account your own product logged in, not a throwaway sign-up. SSO is one layer, though. If you are worried about one account gaming a board, vote limits help too, and we wrote about those in preventing vote manipulation.

Which SSO method should you use?

FeatureOS supports several ways to sign people in. Pick based on who your users are and where your identity already lives.

MethodBest forWhat you build
JWT token (custom SSO)Your own customers, logged in to your productA server endpoint that signs a token
SSO redirectCustomers who open the portal directly, not from your appA login page that sends users back with a token
JS SDKLinking from your app to the portal with minimal setupA snippet on pages where users are logged in
OpenID ConnectTeams that already use an OpenID Connect identity providerSettings only, no code
Azure Active DirectoryInternal boards for a Microsoft-based companySettings only, needs a Global Administrator

For most software companies collecting feedback from their own customers, the JWT token is the right starting point. It works for embedded boards, the stand-alone portal and the redirect flow, so you build the signing part once and reuse it. A quick way to choose:

  • Customers click through from inside your app: use the JWT token, with the token in the portal link.
  • Customers also land on the portal directly, from an email or a search result: add the SSO redirect. FeatureOS sends those visitors to your login page instead of asking them to sign in a second time.
  • You want customers identified with a snippet and no server code: the JS SDK does that. In the documented snippet, the email and name are set in browser code and there is no signing key. If you send data you rely on, such as plan or private board access, sign it on your server with the JWT method instead.

Two limits from our docs are worth knowing up front. You can only use one SSO provider at a time, and turning on OpenID Connect switches off a OneLogin or custom SSO setup you were using before.

How does the JWT flow work?

The flow has four steps:

  1. An admin generates an SSO key in FeatureOS under Organization Settings → Advanced → Single Sign-On.
  2. You store that key on your server.
  3. When a logged-in user opens the feedback portal, your server signs a JWT containing their details with that key.
  4. Your app sends the user to the portal with the token in the URL.

Here is the signing code from our help center, in Node.js with the jsonwebtoken package. We changed one line: the key is read from an environment variable, because the help center sample pastes it into the file.

var jwt = require("jsonwebtoken");
const SSO_KEY = process.env.FEATUREOS_SSO_KEY;
function generateJWTToken(user) {
  var userData = { email: user.email, name: user.name };
  return jwt.sign(userData, SSO_KEY, { algorithm: "HS256" });
}

HS256 means the same secret both signs and checks the token. Anyone who has the key can sign in as any of your users, so it must never leave your server.

What should you put in the token?

Email and name are the minimum. The rest of the payload is where SSO pays for itself, because each field becomes data on the customer's FeatureOS profile. These are the fields our SSO documentation lists:

var userData = {
  email: user.email,
  name: user.name,
  add_as_customer: true,
  private_boards_ids: [123, 456],
  labels: ["Pro", "EU"],
  avatar: "https://example.com/avatar.png",
  custom_fields: {
    "Country": "France",
    "MRR": "3000",
    "Plan": "Enterprise"
  }
};

What each one does:

  • labels adds labels to the user. If a label does not exist yet, FeatureOS creates it, so a typo like "Enterprize" becomes a new label. Send values from a fixed list in your code.
  • custom_fields stores any key-value data on the customer record. Plan, MRR and region are the usual ones, and they are what let your team filter feedback by customer type later.
  • private_boards_ids adds the user to private boards as they sign in. Copy a board's ID from Dashboard → Boards → Private Boards → … → Copy Board ID.
  • add_as_customer adds the user as a customer. add_to_team does the opposite and adds them as a manager, which is meant for private organizations. Never set add_to_team from data the user controls.
  • avatar sets the profile picture from an image URL.

Send only what your team needs to judge a request. Whatever you put in custom_fields is visible to your team in the dashboard, so think twice before sending billing or personal data.

Where do you send the token?

The token goes on the end of a portal URL as sso_token. For an embedded board, copy the base URL from Boards → choose a board → Embed With SSO:

https://acme.featureos.app/embed/b/feedback/?sso_token=[SSO_TOKEN]

For the full stand-alone portal, with boards, roadmap and changelog, use your organization URL, or your custom domain if you have one mapped:

https://yourorgname.featureos.app?sso_token=[SSO_TOKEN]
https://yourorgname.featureos.app/b/board-slug-name?sso_token=[SSO_TOKEN]
https://yourorgname.featureos.app/roadmap?sso_token=[SSO_TOKEN]
https://yourorgname.featureos.app/changelog?sso_token=[SSO_TOKEN]

If customers sometimes reach the portal directly, set up an SSO redirect as well. FeatureOS sends them to a login page on your site with a redirect query parameter. After they log in, you send them to https://app.featureos.app/redirects/sso with the domain, the token and that redirect URL. Our sample code checks that the redirect URL starts with https:// before using it. Keep that check, because a login page that forwards to any URL it is given can be abused to send your users somewhere else. Code samples in JavaScript, Python and Ruby are in our sso-redirect repository.

What catches teams out?

These behaviours are all documented, but they are easy to miss until a customer reports them:

  • Names do not update. If a user with that email already exists, FeatureOS does not change their name from the token. A customer who renamed themselves in your app keeps the old name on the portal. Here is an invented example, not a real customer: Jordan signs up as "Jordan P.", votes on a request, and later changes their name to "Jordan Park" in your app. Every new token carries "Jordan Park", but the portal keeps showing "Jordan P." next to their votes.
  • Private boards do not create users. On a public board, an unknown email becomes a new customer. On a private board, only users already in Board Members are let in.
  • The JS SDK only identifies customers. Admins, managers and CSMs are not signed in through it, on purpose, to block someone from gaining team access through the SDK. Your team still logs in normally.
  • The JS SDK needs HTTPS on your app and does not work in incognito browsers.

Test the redirect flow before you switch it on. Our docs say to test the whole flow first. If the redirect is broken, every customer who clicks "Sign in" on your portal gets stuck.

A short security checklist

Before you ship it:

  1. Keep the SSO key in your secret manager or server environment. Never put it in front-end code, a mobile app or a repository.
  2. Sign tokens only for users your app has already authenticated, on the server.
  3. Build the payload from your database, not from anything the browser sends you.
  4. Keep the https:// check on redirect URLs.
  5. Treat the token in the URL like a password. Avoid logging full portal URLs in your analytics or server logs.

Which plan includes SSO?

On our pricing page, SSO is included from the Growth plan and is an add-on on Starter. The Azure Active Directory integration is on Business and above. Check the pricing page for current details, since plans change.

If you are evaluating tools, SSO belongs on your list next to integrations and data export. Our seven questions to ask before buying a feature request tool covers the rest.

Related: Azure Active Directory integration, FeatureOS developer API and how we handle security at FeatureOS.