Older versionVersion 2.5SolutionsHow to change sms text in PhenixID Server

How to change sms text in PhenixID Server

This document describes how to change the sms text in PhenixID Server.

The reader of this document should have some basic knowledge about PhenixID Server.

System requirements

  • PhenixID Server installed.
  • PhenixID Message Gateway account

Overview

The instructions in this document will help you customize the sms message text sent to users.

This document only applies to configurations using PhenixID Message Gateway for sms delivery. If a 3rd party gateway is used, the text is set according to instructions from the respective gateway provider.

We will make changes to the file <PhenixID Server>\mods\com.phenixidentity~phenix-pipes~<VERSION>\lang\en\strings.xml.

So please make sure that you have a recent copy/backup of this file.

Customize the message text

The  sms message text is configurable in the translation files

Locate the translation file here:

<PhenixID Server>\mods\com.phenixidentity~phenix-pipes~<VERSION>\lang\en\strings.xml.


Find the line below and change it to your needs:

    <!-- OTP By SMS -->
    <string name="valves.otp.sms.message">$$OTP</string>

Note that $$OTP is the template value for inserting the actual one-time password).

Example:

    <string name="valves.otp.sms.message">Your OTP is: $$OTP</string>