0

In my application I want to track from where the new users come with some kind of origin reference:

  • user visits example.com and clicks on the registration button
  • user is redirected to keycloak registration page with the exmaple.com reference
  • the new account in the keycloak database has the reference to exmaple.com so I know that this was the origin

Is there a way to pass an attribute in my registration link that can be used by keycloak? One option is to get the referer by javascript and place it in a hidden attribute field. Or do I place an information in my redirect link so after the registration I can update the user object from my application with the parameter in the url?

Use case: I need to know which salesman got which client to my platform.

rjdkolb
  • 10,377
  • 11
  • 69
  • 89
cre8
  • 13,012
  • 8
  • 37
  • 61

0 Answers0