Skip to main content

Add Phone Authentication to Your Vue Application

Integrate carrier-grade phone authentication using the Vue composable from the Glide Web Client SDK.

1

Install the SDK

Install the Glide Web Client SDK in your Vue/Nuxt project.

2

Use the Vue Composable

Import usePhoneAuth from the Vue adapter. The composable provides reactive refs and authentication methods.

3

Granular API (Recommended)

Call prepare() early to determine upfront if Magical Auth is available, or if you should use your OTP fallback.

4

Nuxt Server API

Create Nuxt server endpoints using the Glide Backend SDK.

5

Anti-Fraud Signals

The result from authentication includes SIM swap and device swap (IMEI change) fraud detection signals.

Each signal includes risk_level, age_band, carrier_name, and checked_at.

npm install @glideidentity/glide-fe-sdk-web
Read-only