--- title: "Create a 2-step challenge/response template" slug: "dam-rdweb-ag-create-a-2-step-challengeresponse-template-4-12" updated: 2026-07-21T14:28:21Z published: 2026-01-14T17:12:20Z canonical: "docs.onespan.com/dam-rdweb-ag-create-a-2-step-challengeresponse-template-4-12" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Create a 2-step challenge/response template The example template file Challenge_template.html is located in %PROGRAMFILES%\OneSpan\Digipass Authentication for Remote Desktop Web Access\Templates\Common. You can create your own page based on this template, or use the example template as is. The Challenge/Response template must be correctly labeled for the used character encoding, which is configured in the related site configuration. The template must contain a number of keywords, which Digipass Authentication for Remote Desktop Web Access will replace with the appropriate HTML code. These fields are: - DPEXT_FORM_METHOD. This is replaced with the configured form method. The replaced content represents the value of the method attribute of the HTML form. - DPEXT_FORM_ACTION. This is replaced with the configured logon submit URL path and query strings. The replaced content represents the value of the action attribute of the HTML form. - DPEXT_PASSWORD_FIELD_NAME. This is replaced with the configured password field name and has to be the value of the name attribute of the corresponding HTML form field. - DPEXT_CHALLENGE_TEXT. This string is replaced with the challenge issued. - DPEXT_HIDDEN_FIELDS. This is replaced with any fields submitted from the logon page and has to be part of the HTML form. > These fields may appear more than once in the file, and each instance will be replaced. For more information about configuring single sign-on, see [Single sign-on for Remote Desktop Web Access](/sec/docs/dam-rdweb-ag-single-sign-on-for-remote-desktop-web-access-4-12).