Sign your customers in with a JWT
Your server signs a token and votes land under each customer's real name without a second account.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
One token works on your website and in your app.
On the web the board reads a vf_token from the query string or a form field. In the iOS package the token goes to VoteFirst.signIn(ssoToken:).
You write the signing once and use it wherever your customers vote.
Two things are required. Two more are up to you.
Sub is your own id for the person, and exp is when the token expires. Name puts a real name on their votes, and email stays on their profile.
The email is never shown to anyone else on the board.
See a customer's name on the vote, not a stranger's.
A signed in vote is tied to the person you named, so you know which customer asked for what.
Their votes from the web and the app land on one profile.
A wrong token never locks anyone out.
A wrong secret, an expired token or a token from another project is refused. The customer keeps the anonymous voter they already had.
They can still vote while you fix the problem.
How the handoff works
Your server holds a secret and signs a short token for a signed in customer. The customer arrives at the board with that token, and VoteFirst checks the signature. If it holds, the votes land under the customer's real name, and no second account is created.
What goes in the token
Two claims are required: sub names the person in your own system, and exp says when the token stops working. Two more are up to you. A name puts the person's real name on their votes, and an email stays on the profile without ever showing on the board.
Keep the life of a token short, a few minutes is plenty, because it only has to survive the redirect.
When a token is wrong
Any token that fails the check is refused, and the customer simply carries on as before. Nobody is locked out and nobody loses a vote because of a clock that ran slow.
That is a deliberate choice. A feedback board should fail open to anonymous and not closed behind an error page.
What this is and is not
The feature sits on the Free plan and on Pro, and Lite does not include it.
A voter signed in this way shows by name in your dashboard. An email about a shipped request goes out only if the voter also follows the changelog, because the profile address is not a confirmed follower.
Your first signed sign in
Sign a token on your server with the shared secret, with sub set to your id for the person and exp a few minutes ahead. Send the customer to the board with the token in the vf_token field, and check that the vote lands under their name.
Test the failure paths too. A token with a wrong secret, an expired token and a token from another project should each be refused, and the customer should keep voting as an anonymous visitor.
Test it with two accounts. Open the board as the first user, vote, then open it as the second and confirm that the votes stay separate.
What signed in voting gives your team
Votes you can trace to a customer
A name on every vote means you can reply to the right person.
No second password for anyone
Your customers vote with the account they already trust.
One identity everywhere
The same person is the same voter on the web and in the iOS app.
A secret that stays yours
The signing secret lives on your server and never ships inside an app.
Your first signed in vote, in three steps
You write the signing once on your server. After that every customer arrives already known.
Share a secret with the board
Create a key on the share page and keep the signing secret on your server.
Sign a token for the customer
Put their id in sub and an expiry in exp. Add name or email if you want them.
Hand the token to the board
Send it as vf_token on the web, or pass it to VoteFirst.signIn(ssoToken:) in the app.
What the token must carry
A string and a whole number resolve to the same voter, so 42 and the text 42 are one person. Refusing zero and the very large numbers means two customers can never end up sharing one voter, which keeps every vote on the right name.
| Part | The rule |
|---|---|
| Signature | Signed with an HMAC method such as HS256 |
| exp | Required, since a token with no expiry is refused |
| sub | Names the person, as a string or a whole number |
| Refused sub values | Zero, and numbers beyond 9,007,199,254,740,991 |
Web, app and both
The same token works on a web page and in the iOS package, so a customer who votes in the app and on the site is one person with one profile. That matters for counts, since a single customer cannot vote twice by switching devices.
Named in the dashboard, silent by email
Your dashboard names every voter your token signs in, so each vote traces back to a customer. The board does not email that voter when a request ships.
If you want those customers told, send the news yourself from your own system. The changelog still reaches anyone who follows it by email.
One kind of sign in
A signed token is the only sign in the board accepts, so there is no SAML and no OIDC. It suits a product that already has accounts and can sign a short message on its server.
If your customers sign in through a company identity provider, check that your own login can produce the token. The board never sees their passwords and only trusts what your server signs.
Keeping the signing secret on your side
The signing secret stays on your server and never goes into an app or a web page. Anyone who has it can sign a token for any customer, so treat it like a database password.
Share it with the board once, in project settings, and keep a second copy in your own secret store. If it leaks, replace it on both sides, and every token signed with the old one stops working.
A mobile app should ask your server for a token and hand that token to the board. The app itself never sees the secret.
Who the handoff suits
The handoff suits a product that already signs its customers in, because the board can then reuse that login and ask for nothing new.
A team whose customers come through a corporate identity provider and insist on SAML needs a different answer, since the board accepts only the signed token. Settle that question before you build, and the build takes an afternoon instead of a week.
After any change to the secret, open the board as a signed in customer and confirm that the name on a fresh vote is still the right one.
What you should know first
- JWT is the only sign in. No SAML, no OIDC.
- On Free and Pro, not on Lite.
- A voter your token signs in is named in your dashboard but is not emailed when a request ships.
- The signing secret stays on your server, never in an app.
What you may ask before you wire it up
Which sign in methods are supported?
JWT only. There is no SAML and no OIDC.
Which plan includes it?
The Free plan and Pro, which costs $39/mo. Lite does not include it.
Where does the secret live?
On your server. It never belongs in an app or in a web page.
What happens when a token is wrong?
It is refused, and the customer keeps the anonymous voter they already had.
Is the email shown on the board?
No. It stays on the voter's profile and is never shown.
Does it work in the iOS app?
Yes. Pass the token to VoteFirst.signIn(ssoToken:) in the Swift package.
Do my customers need to know about it?
No. They arrive from your product already signed in and vote like they would anywhere else.
Can a customer vote from the web and the app?
Yes. The token identifies the same person in both places, so their votes sit on one profile.
Where your next page is
Pages that build on a board with named voters.
Votes from named customers
Signed sign in is on Free and Pro, not on Lite. A 14 day trial of either paid plan takes no card.