Skip to content

Installation

Choose your platform to get started with AuthStack.

Add the AuthStack client to your pubspec.yaml:

dependencies:
voostackauth_client: ^1.0.0

Then run:

Terminal window
flutter pub get

The Flutter SDK depends on:

  • dio for HTTP requests
  • flutter_secure_storage for token storage
  • google_sign_in (optional) for Google authentication

Install via npm:

Terminal window
npm install @voostack/auth

Or with yarn:

Terminal window
yarn add @voostack/auth

Install via npm:

Terminal window
npm install @voostack/auth-vue

No SDK required! Use the REST API directly:

Terminal window
curl -X POST https://api.authstack.voostack.com/api/Authentication/login \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com", "password": "password123"}'

Configure your application with these environment variables:

Terminal window
VOOSTACKAUTH_URL=https://api.authstack.voostack.com
VOOSTACKAUTH_CLIENT_ID=your-client-id