I am using node for the back end , in the case of custom invite flow based on the documentation I can create an api where by admins can invite users and block the normal signup flow. Is there anyway to provide user preference data (user meta data)when generating the invite link for that user?
r
rp
02/14/2023, 4:28 AM
Hey @doraig yes there is.
You can add query params to the invite link for example
And when the link is clicked, I assume it asks the user to set their password? In this case, when you the user submits the password, you can use our pre api hook to read those query params and add to the request body
And then consume that info on the backend by reading it from the request object.