does Hubspot generate JWT tokens? We are creating a custom sign up form that will link together our application (web app, app.boardroominsiders.com) and want to verify the user in Hubspot. From what i have read, Hubspot does not natively generate the token (can it?) but can it verify a token via a webhook sent from the email? If we want to send out a custom URL in each email, what is the best way to authenticate that user back to Hubspot?
Or if i am overthinking this, let me know. We have the main list of contacts in Hubspot, and the main list of users in the app, and all users in the app are noted as lifecycle stage "other" in hubspot.
My initial thoughts:
Send email from hubspot that contains URL (with token) to our app.
In the app we validate token to confirm that email valid and that link still relevant
What would be best method to do this in Hubspot, verify and write a record back to hubspot once verification is done? Also, what would be best method to authenticate? JWT or something easier/else?
It doesn't look like we can use any tokens (personalization) to verify a user and link from within hubspot. The app is hosted app.boardroominsiders.com technically internally since that domain lives in hubspot. Now I just need to automate the process instead of one by one via personalization. Confused.
HubSpot currently does not generate or validate JWT tokens. You could however generate the token in your application and store it on a contact object. That way, you can pass that property to your email and use it as you want or use the Webhook action (enterprise) to validate the token.