javascript

@asgardeo/vue

Vue.js SDK for Asgardeo

npm (scoped) npm License

Overview

The Asgardeo Vue SDK provides a streamlined way to integrate secure authentication and user management into your Vue.js applications. Built for Vue 3, it offers a comprehensive set of composables, components, and utilities to handle authentication flows, user profiles, and multi-tenancy features.

Key Features

Quick Start

Get started with Asgardeo in your Vue application in minutes. Follow our Vue Quick Start Guide for step-by-step instructions on integrating authentication into your app.

Installation

# Using npm
npm install @asgardeo/vue

# Using pnpm
pnpm add @asgardeo/vue

# Using yarn
yarn add @asgardeo/vue

Basic Usage

<script setup lang="ts">
import { useUser } from '@asgardeo/vue'

const { user, isLoading } = useUser()
</script>

<template>
  <div>
    <p v-if="isLoading">Loading...</p>
    <p v-else-if="user">Welcome, </p>
    <p v-else>Not signed in</p>
  </div>
</template>

API Documentation

For complete API documentation including all components, composables, and customization options, see the Vue SDK Documentation.

Supported Features

Composables

Components

Control

Actions

Presentation

Auth Flow

Social Login Adapters

Primitives

Utilities

Examples

Check out our example applications to see the Vue SDK in action:

Documentation

Support

For support and questions:

Contributing

We welcome contributions! Please see our Contributing Guidelines for more details.

License

Licenses this source under the Apache License, Version 2.0 LICENSE, You may not use this file except in compliance with the License.