@netsells/nuxt-sso

1.3.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @netsells/nuxt-sso

Weekly Downloads

1

Version

1.3.0

License

MIT

Unpacked Size

18 kB

Total Files

15

Last publish

Collaborators

  • rebeccaanderton
  • samturrell
  • spamoom
  • jakub.gawron