Pocket Pass scheme

This document explains how to change scheme from otpauth:// to instead use pocketpass://.
In some circumstances other authenticators than the Pocket Pass app can take precedence over the scheme otpauth://. If this is the case, change to scheme pocketpass:// according to instructions below.

Requirements

  • Version 5.0.0 of Pocket Pass app.
  • Backup of the server

Change to pocketpass:// on backend

The setting for the scheme is in the file "otp-auth.js", located in the folder:
<PhenixIDinstallationfolder>/mods/com.phenixidentity~phenix-prism-otpadmin~<version>/js/lib
Make sure to have a copy of this file, then change the following:
var result = "otpauth://";
To:
var result = "pocketpass://";

When done, restart the service.