Customize signup form based on passed query parameters

I am using a customized login template with a custom signup prompt in order to display additional form fields. All of that is working nicely. My question is whether I can pass query string parameters and have them be accessible from the custom signup prompt via Javascript in to populate a hidden field as save to metadata.

I am using the screen_hint=signup query string parameter to send the user to the signup for (see first screenshot) along with an additional custom parameter (user_type=regular). However, once the user is redirected to the signup form, the query string parameters are no longer accessible (see second screenshot).


Is there any way to get a custom parameter to the signup form?

Thank you for your help.

Hi @warren.harrison ,

Custom param can be passed inside AuthorizationParams object and the later you can access.

authorizationParams: {
	'ext-param1': 'value1',
	'ext-param2': 'value2'
}

Here is the post that will help you.

Hope this helps

1 Like