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.
npm install @glideidentity/web-client-sdkRead-only