Older versionVersion 2.3Authenticators - HTTPPhenixID web apps authentication and SAML – Selector

PhenixID web apps authentication and SAML – Selector

This authenticator is used to present authentication options to the end user.

Prerequisites

The authenticators to choose from must be configured.

Modules Required

  • auth-http

Configuration

Configuration properties:

Name Description Mandatory Default value
possibleAuthenticators Array of possibleAuthenticator (see below) objects to choose from Yes
template GUI template to use No selector.template
rememberSelection Skip selection page after first user selection No false

possibleAuthenticator configuration properties:

Name Description Mandatory Default value
id ID of authenticator. Yes
sortorder Number in sorting (in ascending order) No 0
image Path to image file.
Starts from /mods/com.com.phenixidentity~auth-http~/web/
Recommended image format is png. Recommended image size is ~20x20 pixels. Should not be used in combination with icoon.
No
icon Icon (ionicons)
Icon name. Available icons can be found on http://ionicons.com/. Should not be used in combination with image.
No

Example configuration

HTTP Authenticators

{
		"name": "AuthSelector",
		"id": "selectorMyapps",
		"alias": "selectorMyapps",
		"configuration": {
			"possibleAuthenticators": [
				{
					"id": "otinternal",
					"sortorder": "1",
					"image": "res/images/phenix-one-touch.png"
				},
				{
					"id": "sambi",
					"sortorder": "6",
					"image": "res/images/sambi.png"
				},
				{
					"id": "eidas",
					"sortorder": "201",
					"image": "res/images/eidas.png"
				},
				{
					"id": "unpwotptoken_internal",
					"sortorder": "2",
					"image": "res/images/pocketpass.png"
				},
				{
					"id": "unpwotpsms_internal",
					"sortorder": "3",
					"image": "res/images/sms.png"
				},
				{
					"id": "unpwotppintoken_internal",
					"sortorder": "199",
					"image": "res/images/pocketpass.png"
				},
				{
					"id": "bankid_internal",
					"sortorder": "4",
					"image": "res/images/bankid.png"
				},
				{
					"id": "certheader_internal",
					"sortorder": "5",
					"image": "res/images/siths.png"
				},
				{
					"id": "unpw_internal",
					"sortorder": "99",
						"icon": "ion-arrow-left-a"
				},
				{
					"id": "unpw_internal_yk",
					"sortorder": "99",
					"image": "res/images/yubikey.png"
				},
				{
					"id": "unpwotptoken_internal_yk",
					"sortorder": "99",
					"image": "res/images/yubikey.png"
				}
			]
		}
	}