AssignmentAuthenticator

Authenticate users with usernmane and PhenixID One Touch.

Properties

Name Description Default value Mandatory
successURL The URL to redirect the browser to, after successful authentication. Yes
form_template_name Login form template (html). assignments.template No
form_template_translation_keys Comma separated list of translation keys to include in login form template rendering. No
form_template_session_keys Comma separated list of session keys to include in login form template rendering. No
poll_template_name Assignment poll template (html). onetouchpoll.template No
poll_template_translation_keys Comma separated list of translation keys to include in assignment poll template rendering. No
poll_template_session_keys Comma separated list of session keys to include in assignment poll template rendering. No
assignment_template_name Assignment template. ot_auth_template No
assignment_template_translation_keys Comma separated list of translation keys to include in assignment template rendering. No
assignment_template_session_keys Comma separated list of session keys to include in assignment template rendering. No
assignment_template_service_name Display name of service. PhenixID No
poll_intervall Number of milliseconds to wait between each poll for confirmed assignment. 1000 No
max_polls Max number of polls for confirmed assignment to perform before timing out. 60 No
notify Enable use of device notifications (requires enabled notifications on One Touch backend). true No
includeQueryString Enable to append query string (passed to authenticator) to successURL. false No
allowLanguageChange Enable or disable the option to choose language. No
enableHoneypot Enable login form honeypot, to prevent automated logins. true No
ot_push_message Message shown on the client when using push login.assignment.client.message.ot_push_message No

Example Configuration

{
    "alias" : "ot",
    "name" : "AssignmentAuthenticator",
    "displayName" : "PhenixID One Touch",
    "configuration" : {
         "successURL" : "/application/",
         "enableHoneypot" : "false",
         "allowLanguageChange" : "true",
         "servicename" : "PhenixID Demo MyApps",
         "form_template_name" : "test_form.template",
         "form_template_translation_keys" : "test.title,test.description",
         "poll_template_name" : "test_poll.template",
         "poll_template_translation_keys" : "test.title",
         "assignment_template_name" : "test_assignment.json",
         "assignment_template_translation_keys" : "test.title",
         "translationKey" : "login.messages.information.body.myapps",
         "headingtranslationKey" : "login.messages.information.header.myapps"
         },
  "id" : "ot_01"
}

Requirements

  • One Touch backend configured.
  • One Touch activated by the authenticating user.