AppGallery Connect Client JavaScript SDK Auth Service module

Usage no npm install needed!

<script type="module">
  import agconnectAuth from 'https://cdn.skypack.dev/@agconnect/auth';


Auth Service For Web


Most apps need to identify and authenticate users to tailor the app experience for individual users. However, building such a system from scratch is a difficult process. Auth Service can quickly build a secure and reliable user authentication system for your app. You only need to access Auth Service capabilities in your app without caring about the facilities and implementation on the cloud. Learn More

Integrating SDKs

Integrate the Auth Service SDK.

  • Run the following command to integrate the Auth Service JavaScript SDK into your project:
npm install --save @agconnect/auth
  • Import the AppGallery Connect component to your project.
import agconnect from "@agconnect/api";
import "@agconnect/auth";
import "@agconnect/instance";

For more details, please refer to Getting Started with Auth Service

Development Guide




Auth Service Plug-in is licensed under the: "ISC"