akita-login-portal
login portal for akita (auth0)
4,171
| Install | |
|---|---|
npm install akita-login-portal |
|
| Latest Version: | 1.1.29 |
| Vue: | 2 |
| Last Updated: | Feb 8, 2022 |
| Links: | npm |
Maintainer: sellsuki-devops
Quick start
1. Install via npm
npm install akita-login-portal --save
2. Make file config at root folder (./akt-lp.config.js)
// akt-lp.config.js
const APP_TOKEN = {
production: 'b21xxxxxxxxxxxxxxxxxxxx==',
staging: 'b21xxxxxxxxxxxxxxxxxxxx==',
development: 'b21xxxxxxxxxxxxxxxxxxx=='
}
const AkitaLoginConfig = {
env: 'development', // your app env (development, staging, production)
APP_NAME: 'pos',
APP_TOKEN, // your app basic token
production: { // require
DOMAIN: 'wanwantip-prd.auth0.com',
CLIENT_ID: 'xxXXxxXXxxXXxxXXxxXXxx'
},
staging: { // optional
DOMAIN: 'wanwantip-stg.auth0.com',
CLIENT_ID: 'xxXXxxXXxxXXxxXXxxXXxx'
},
development: { // require
DOMAIN: "wanwantip-dev.auth0.com",
CLIENT_ID: "xxXXxxXXxxXXxxXXxxXXxx",
}
}
module.exports = AkitaLoginConfig
3. Import and use
// main.js
import Vue from 'vue'
import router from './router' // Your app router
import AkitaLoginPortal from 'akita-login-portal'
import AkitaLoginConfig from './akt-lp.config'
Vue.use(AkitaLoginPortal, {
router,
AkitaLoginConfig
})
LOGOUT
// when logout use plugin to clear state
this.$auth.logout()
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.1.29 | 2.6.10 | ||
| 1.1.28 | 2.6.10 | ||
| 1.1.27 | 2.6.10 | ||
| 1.1.26 | 2.6.10 | ||
| 1.1.25 | 2.6.10 | ||
| 1.1.24 | 2.6.10 | ||
| 1.1.23 | 2.6.10 | ||
| 1.1.22 | 2.6.10 | ||
| 1.0.22 | 2.6.10 | ||
| 1.0.21 | 2.6.10 | ||
| 1.0.20 | 2.6.10 | ||
| 1.0.19 | 2.6.10 | ||
| 1.0.18 | 2.6.10 | ||
| 1.0.17 | 2.6.10 | ||
| 1.0.16 | 2.6.10 | ||
| 1.0.15 | 2.6.10 | ||
| 1.0.14 | 2.6.10 | ||
| 1.0.13 | 2.6.10 | ||
| 1.0.12 | 2.6.10 | ||
| 1.0.11 | 2.6.10 | ||
| 1.0.10 | 2.6.10 | ||
| 1.0.9 | 2.6.10 | ||
| 1.0.8 | 2.6.10 | ||
| 1.0.7 | 2.6.10 | ||
| 1.0.6 | 2.6.10 | ||
| 1.0.5 | 2.6.10 | ||
| 1.0.4 | 2.6.10 | ||
| 1.0.3 | 2.6.10 | ||
| 1.0.2 | 2.6.10 | ||
| 1.0.1 | 2.6.10 |
Showing the latest 30 of 106. See every release on npm
Pre-releases (26)
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.13-t | 2.6.10 | ||
| 1.0.12-t | 2.6.10 | ||
| 1.0.11-t | 2.6.10 | ||
| 1.0.10-t | 2.6.10 | ||
| 1.0.9-t | 2.6.10 | ||
| 1.0.8-t | 2.6.10 | ||
| 1.0.7-t | 2.6.10 | ||
| 1.0.6-t | 2.6.10 | ||
| 1.0.5-t | 2.6.10 | ||
| 1.0.4-test | 2.6.10 | ||
| 1.0.4-t | 2.6.10 | ||
| 1.0.3-t | 2.6.10 | ||
| 1.0.2-t | 2.6.10 | ||
| 1.0.1-t | 2.6.10 | ||
| 1.0.1-w | 2.6.10 | ||
| 1.0.0-w | 2.6.10 | ||
| 0.0.35-beta | 2.6.10 | ||
| 0.0.34-beta | 2.6.10 | ||
| 0.0.33-beta | 2.6.10 | ||
| 0.0.32-beta | 2.6.10 | ||
| 0.0.30-beta2 | 2.6.10 | ||
| 0.0.30-beta | 2.6.10 | ||
| 0.0.25-beta | 2.6.10 | ||
| 0.0.22-beta | 2.6.10 | ||
| 0.0.14-beta | 2.6.10 | ||
| 0.0.0-test | 2.6.10 |