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 URI 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 https://ionicons.com/v2/. 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": "/authenticate/res/images/phenix-one-touch.png"
				},
				{
					"id": "sambi",
					"sortorder": "6",
					"image": "/authenticate/res/images/sambi.png"
				},
				{
					"id": "eidas",
					"sortorder": "201",
					"image": "/authenticate/res/images/eidas.png"
				},
				{
					"id": "unpwotptoken_internal",
					"sortorder": "2",
					"image": "/authenticate/res/images/pocketpass.png"
				},
				{
					"id": "unpwotpsms_internal",
					"sortorder": "3",
					"image": "/authenticate/res/images/sms.png"
				},
				{
					"id": "unpwotppintoken_internal",
					"sortorder": "199",
					"image": "/authenticate/res/images/pocketpass.png"
				},
				{
					"id": "bankid_internal",
					"sortorder": "4",
					"image": "/authenticate/res/images/bankid.png"
				},
				{
					"id": "certheader_internal",
					"sortorder": "5",
					"image": "/authenticate/res/images/siths.png"
				},
				{
					"id": "unpw_internal",
					"sortorder": "99",
						"icon": "ion-arrow-left-a"
				},
				{
					"id": "unpw_internal_yk",
					"sortorder": "99",
					"image": "/authenticate/res/images/yubikey.png"
				},
				{
					"id": "unpwotptoken_internal_yk",
					"sortorder": "99",
					"image": "/authenticate/res/images/yubikey.png"
				}
			]
		}
	}