@asgardeo/vue
Vue Wrapper to build customizable login UIs for Asgardeo or Identity Server
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.