0.0.1 • Published 6 months ago

@asgardeo/vue v0.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

@asgardeo/vue

Prerequisites

  • Vue.js 3.4.0 or higher

Installation

# With npm
npm install @asgardeo/vue

# With pnpm
pnpm add @asgardeo/vue

# With yarn
yarn add @asgardeo/vue

Basic Setup

import { createApp } from 'vue'
import { AsgardeoAuth } from '@asgardeo/vue'

const app = createApp(App)

app.use(AsgardeoAuth, {
  signInRedirectURL: "http://localhost:3000",
  signOutRedirectURL: "http://localhost:3000",
  clientID: "<your-client-id>",
  baseUrl: "https://api.asgardeo.io/t/<org-name>",
  scope: ["openid", "profile"]
})

app.mount('#app')

License

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