2.17.0 • Published 7 months ago

@luigi-project/plugin-auth-oidc v2.17.0

Weekly downloads
411
License
Apache-2.0
Repository
github
Last release
7 months ago

OpenID Connect - Authorization Plugin for Luigi Core

Overview

This project contains a library that allows your application to extend the Luigi framework with an OpenID Connect authorization provider. Further configuration details can be found in the main documentation.

Installation

Install the plugin in your project using npm:

npm install @luigi-project/plugin-auth-oidc

Import the plugin in places where you want to use it, depending on the environment of your choice:

var OpenIdConnect = require('@luigi-project/plugin-auth-oidc');

or

import OpenIdConnect from '@luigi-project/plugin-auth-oidc';

Then, integrate it as an authorization provider in your Luigi configuration file:

Luigi.setConfig({
  auth: {
    use: 'myProviderConfig',
    myProviderConfig: {
      idpProvider: OpenIdConnect,
      authority: 'http://authority.server',
      logoutUrl: 'http://authority.server/connect/endsession',
      client_id: 'implicit-mock-client',
      scope: 'openid profile email',
      // ... further configuration data comes here
    }
  }
})

If you want to use the silent token renewal feature, the silent-callback.html needs to be copied to a folder in your Luigi Core installation, which is the return path for the IdP provider, configured through the redirect_uri setting. The default location of redirect_uri is /assets/auth-oidc/silent-callback.html. This file also contains a reference to /assets/auth-oidc/plugin.js to make the OIDC client available.

const CopyWebpackPlugin = require('copy-webpack-plugin');

{
  plugins: [
    new CopyWebpackPlugin([{
      from: 'node_modules/@luigi-project/plugin-auth-oidc',
      to: 'src/assets/auth-oidc'
    }])
  ]
}
2.17.0

8 months ago

2.16.0

9 months ago

2.15.0

10 months ago

2.14.3

10 months ago

2.14.1

11 months ago

2.14.2

11 months ago

2.14.0

11 months ago

2.14.2-rc1

11 months ago

2.13.0

1 year ago

2.12.0

1 year ago

2.11.0

1 year ago

2.10.0

1 year ago

2.9.0

1 year ago

2.8.0

1 year ago

2.7.5

2 years ago

2.7.4

2 years ago

2.4.0

2 years ago

2.3.0

2 years ago

2.7.0

2 years ago

2.7.2

2 years ago

2.7.1

2 years ago

2.6.1

2 years ago

2.6.0

2 years ago

2.6.3

2 years ago

2.6.2

2 years ago

2.7.3

2 years ago

2.3.0-rc5

2 years ago

2.5.0

2 years ago

2.5.1

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.3.0-rc1

2 years ago

2.3.0-rc2

2 years ago

2.3.0-rc3

2 years ago

2.3.0-rc4

2 years ago

2.2.0-rc1

2 years ago

2.2.0-rc2

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

2.0.0-rc7

2 years ago

2.0.0-rc6

2 years ago

2.0.0-rc8

2 years ago

2.0.0-rc5

2 years ago

2.0.0-rc4

2 years ago

2.0.0-rc3

2 years ago

2.0.0-rc2

2 years ago

2.0.0-rc1

2 years ago

1.26.0

2 years ago

1.25.0

3 years ago

1.25.1

3 years ago

1.23.0

3 years ago

1.23.1

3 years ago

1.24.0

3 years ago

1.22.0

3 years ago

1.21.0

3 years ago

1.20.1

3 years ago

1.18.1

4 years ago

1.19.0

4 years ago

1.20.0

3 years ago

1.18.0

4 years ago

1.17.0

4 years ago

1.16.2

4 years ago

1.16.1

4 years ago

1.16.0

4 years ago

1.15.0

4 years ago

1.14.3

4 years ago

1.14.1

4 years ago

1.14.2

4 years ago

1.14.0

4 years ago

1.13.0

4 years ago

1.12.1

4 years ago

1.12.0

4 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.9.0

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.1

4 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

1.0.0-next.2

5 years ago

1.0.0-next.1

5 years ago

1.0.0-bbqseb.41

5 years ago

1.0.0-rc.1

5 years ago

1.0.0-next.0

5 years ago