Skip to main content
LinkedIn
Copied!

Table of Contents

Verifying a one-time password by calling an API

Version:

Only available versions of this content are shown in the dropdown

You can verify a one-time password by calling an API. Use this method to verify a one-time password from an external system or if your application is running on a Pega Platform version earlier than 7.3.

Complete the Generating a one-time password procedure.
  1. Create a REST Connector by using the REST integration wizard.

    For more information about how to configure the connector, see Creating a REST integration.

  2. In the Endpoint URL field, enter the authenticate/one-time password web service on your server instance.

    https://localhost:9090/prweb/PRRestService/api/v1/authenticate/otp/verify
  3. Select the GET method to invoke the external REST service.

  4. Click Override to add query parameters.

  5. Enter the Reference ID and OTPValue parameters.

    The Reference ID is returned by the pxSendOTP activity.

    The OTPValue is the one-time password entered by the user.

  6. Add a REST service, and enter query string parameter values for the Reference ID and OTPValue parameters.

  7. Click Submit.

Did you find this content helpful?

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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us