Using custom parameters with login page
- 
 Hi I have a use case where I'd like to customize the FA login page based on the parameters sent in the request. I mean that my application will add an extra parameter during redirect to the FusionAuth /oauth2/authorize URL. I know that I can access request parameters in the login page template (OAuth authorize) but as soon as a user tries to log in and an error occurs (eg. invalid password) all the request parameters are gone (page reload). So far I've found that I can use the user_code parameter (as I'm not using device flow) to achieve what I need. user_code is available all the time in the template, even after page reload, but is there any other option to do it? Some extra user_parameters would be great. 
- 
 Answering to myself. Seems I can do the following: [#if request.getParameter('custom_parameter')??] [#global custom_parameter = request.getParameter('custom_parameter')?string /] [@helpers.hidden name="custom_parameter" /] [/#if] </form>which just passes the parameter in the input field making it available after the form submit 
- 
 @maciej-wisniowski said in Using custom parameters with login page: [@helpers.hidden name="custom_parameter" /] I did not know you could do that. Thanks for sharing your solution! 
