Socket
Socket
Sign inDemoInstall

octoplus-login-portal

Package Overview
Dependencies
49
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    octoplus-login-portal

login portal for octoplus (auth0)


Version published
Maintainers
1
Created

Readme

Source

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()

FAQs

Last updated on 16 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc