My app is using Auth0’s New Universal Login experience.
When I redirect a request from my app to Auth0’s /authorize
endpoint to initiate the OAuth flow, I’m including a few tracking parameters on the URL. For instance, my redirect URL looks like this:
https://accounts.buoyant.io/authorize?client_id=ID&redirect_uri=REDIRECT&response_type=code&scope=openid+email+profile&screen_hint=signup&state=STATE&utm_campaign=email
Auth0 then redirects that to the signup page, e.g.:
/u/signup?state=STATE
But I need that redirect to include the utm_campaign
param that I passed to the authorize endpoint, e.g.:
/u/signup?state=STATE&utm_campaign=email
What’s the best way to make this happen?