@netsells/nuxt-sso
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url]
Last updated 10 months ago by samturrell .
MIT · Original npm · Tarball · package.json
$ cnpm install @netsells/nuxt-sso 
SYNC missed versions from official npm registry.

Nuxt Netsells SSO

NPM version Build Status Dependency Status

A module allowing google auth single sign on for internal Netsells projects.

Why?

Currently for all Netsells internal tooling we would have to repeat the Single Sign On process for every tool. This allows us a centralised way of handling it across all tools, and ensure they all work in the same manner. Simplifies the process of anyone who wishes to build an internal tool.

Installation

yarn add @netsells/nuxt-netsells-sso

Usage

Add the module to your nuxt config's modules array:

module.exports = {
    ...
    modules: [
        ['@netsells/nuxt-netsells-sso', {
            debug: false, // Enable logging
            endpoints: {
                me: 'api/me', // User lookup endpoint
            },
        }],
    ],
    ...
};

API requests use the API_BASE env value to determine the location of the API to handle the SSO authentication.

MIT © Netsells

Current Tags

  • 1.3.0                                ...           latest (10 months ago)

9 Versions

  • 1.3.0                                ...           10 months ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.3.2                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |