1.3.0 • Published 6 years ago
@netsells/nuxt-sso v1.3.0
Nuxt Netsells SSO
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-ssoUsage
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