Selector page for PPSS methods

If your solution includes more than one method for user to prove their identity then the selector page can be a good option to configure. This will provide a page where end-users can view the different options to reset their password. Image below will show what it looks like if you have enabled all options in your configuration.

Do the following steps in the ADVANCED tab in the Configuration GUI

Step 1 - Authentication - HTTP

Add the following configuration to “Authentication - HTTP”

{
  "alias": "changepwdchoice",
  "name": "Registration",
  "configuration": {
	"stages": [
		{
			"pipeid": "changepwdchoice",
			"template": "changepwd/changepwdchoice",
			"templateVariables": {
				"methods": [
					{
						"title": "ppsspaschoice.messages.pwd",
						"href": "/ppss/authenticate/changepwdpwd/",
						"image": "/authenticate/res/images/changepwd/pss-pwd.png"
					},
					{
						"title": "ppsspaschoice.messages.pp",
						"href": "/ppss/authenticate/changepwdpp/",
						"image": "/authenticate/res/images/changepwd/pss-pp.png"
					},
					{
						"title": "ppsspaschoice.messages.ot",
						"href": "/ppss/authenticate/changepwdotauth",
						"image": "/authenticate/res/images/changepwd/pss-onetouch.png"
					},
					{
						"title": "ppsspaschoice.messages.sms",
						"href": "/ppss/authenticate/changepwdsms/",
						"image": "/authenticate/res/images/changepwd/pss-sms.png"
					},
					{
						"title": "ppsspaschoice.messages.mail",
						"href": "/ppss/authenticate/changepwdmail/",
						"image": "/authenticate/res/images/changepwd/pss-mail.png"
					}
				]
			},
			"sessionValues": [
				"pki_user"
			],
			"allowLanguageChange": "true",
			"translation": [
				"ppsspaschoice.messages.title",
				"ppsspaschoice.messages.header",
				"ppsspaschoice.messages.paragraph",
				"ppsspaschoice.messages.selectmethod",
				"ppsspas.common.button.continue"
			]
		}
	]
  },
  "id": "changepwdchoice"
}

If you like to remove one or more options you just simply remove the paragraph containing the method.

For example, if you like to remove one-time password (OTP) via email. You simply remove:

					{
						"title": "ppsspaschoice.messages.mail",
						"href": "/ppss/authenticate/changepwdmail/",
						"image": "/authenticate/res/images/changepwd/PPSS-Mail.png"
					}

 

If you like to add one or more options you just add a new paragraph containing the new method.

For example, if you like to add SAML authentication. You simply add:

					{
						"title": "ppsspaschoice.messages.mail",
						"href": "/saml/authenticate/changepwdsamlsp/",
						"image": "/authenticate/res/images/changepwd/PPSS-SAML.png"
					}

Browse to https://YOUR_SERVERNAME:YOUR_PORT_NUMBER/ppss/authenticate/changepwdchoice
example https://www.phenixid.se:8443/ppss/authenticate/changepwdchoice