Skip to main content

 –

Generating a one-time password

Suggest edit Updated on June 30, 2021

The pxSendOTP activity generates a one-time password (a fixed-length, eight-digit number), sends it to pyEmailSettings.pyEmailAccount, and stores it in memory until it expires. It returns a Reference ID value that identifies a specific one-time password during later verification of a user entry by the pxVerifyOTP activity. Input parameters for this activity must be supplied in an instance of the Embed-OTPInputs class, which is supplied as the OTPInputs parameter in the activity.

You can generate a one-time password in the following ways:

Did you find this content helpful? YesNo

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us