1.3.0 • Published 5 years ago

@netsells/nuxt-sso v1.3.0

Weekly downloads
13
License
MIT
Repository
-
Last release
5 years ago

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

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.3.2

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago