Hi there!
I have an SPA with a Rails backend, which generates a custom tracking ID when a user lands on our site.
I’d like to add that custom tracking ID to the user’s JWT, such that when the user is redirected back to my site, the JWT already contains it
The catch is I need to support logging in with social providers, namely Facebook, and cannot rely on the database-only solutions outlined in these articles:
Is there a supported way around this problem? Or will I have to use a rule and make an additional request for the full JWT with tracking ID after auth + redirect?
Thanks!