Skip to main content

User Authentication

INTRODUCTION

By using User Authentication, the Mini App can authenticate the user while using the Mini App.

APPLICATIONS

Momo Platform provides an API to support user identification inside Mini App. The Mini App will call the getUserAuth API to get the user's token and send this token to the MoMo backend for identification. After successful identification, Mini App (specifically the backend of Mini App) can trust the user's session. Then, Mini App can use the received data to create an user's account and login for the user.

getUserAuth Workflow

ACCESS REQUIREMENT

The required configurations are:

  • MoMo Platform (equivalent or higher)
    • buildVersion: 3.1.4
  • MoMo API (equivalent or better)
    • MiniApi: 0.1.4

PAYMENT METHOD

Free.

ACCESS GUIDE

Use the following APIs to request user permissions in the Mini App:

getUserAuth