1.10.5 • Published 2 years ago

linagora.esn.oidc v1.10.5

Weekly downloads
54
License
AGPL-3.0
Repository
-
Last release
2 years ago

linagora.esn.oidc

OpenID Connect support for OpenPaaS

Install

Note: The following instructions assumes that you have already installed OpenPaaS ESN in the path referenced by $ESN below.

While waiting for a npm-based dependency injection handler, you have to install the module in OpenPaaS ESN like this:

1. Clone

git clone https://github.com/linagora/linagora.esn.oidc.git

2. Install it in OpenPaaS

There is two way to install the model in OpenPaaS, so choose one of them:

  • A. Using symbolic links

    The modules must be available in the $ESN/modules folder:

    ln -s path_to_module/linagora.esn.oidc $ESN/modules/
  • B. Using npm link

    Go inside the module repository:

    npm link

    Go inside OpenPaaS ESN repository:

    cd $ESN
    npm link linagora.esn.oidc
    npm install

2. Enable the module in the OpenPaaS ESN configuration file

You must add the module in the modules section in $ESN/config/default.NODE_ENV.json. NODE_ENV is the environment variable used to define if the node application is running in 'production' or in 'development' (the default environment is 'development'). Copy the 'modules' array from $ESN/config/default.json into $ESN/config/default.NODE_ENV.json ($ESN/config/default.development.json or $ESN/config/default.production.json) and add the module name:

"modules": [
  "linagora.esn.core.webserver",
  "linagora.esn.core.wsserver",
  "linagora.esn.oidc"
],

Configure

The module needs configuration to reach the OIDC provider correctly. This must be defined with the configuration service as described in http://docs.open-paas.org/apis/auth/oidc/#configuration.

Run

Once installed, you can start OpenPaaS ESN as usual. When the user needs to log in, he will be redirected to the OIDC login page.

1.10.5

2 years ago

1.10.4

2 years ago

1.10.3

2 years ago

1.10.2

2 years ago

1.10.0

2 years ago

1.9.0-rc9

3 years ago

1.10.0-rc1

2 years ago

1.9.0-rc8

3 years ago

1.9.0-rc6

3 years ago

1.9.0-rc5

3 years ago

1.9.0-rc4

3 years ago

1.9.0-rc3

3 years ago

1.9.0-rc2

3 years ago

1.9.0-rc1

3 years ago

1.9.0-beta2

3 years ago

1.8.1-rc9

3 years ago

1.9.0-beta1

3 years ago

1.8.1-rc8

3 years ago

1.8.1-rc7

4 years ago

1.8.1-rc6

4 years ago

1.8.1-rc5

4 years ago

1.8.1-rc4

4 years ago

1.8.1-rc3

4 years ago

1.8.1-rc2

4 years ago

1.8.1-rc1

4 years ago

1.8.0

4 years ago

1.8.0-rc3

4 years ago

1.8.0-rc2

4 years ago

1.8.0-rc1

4 years ago

1.8.0-beta1

4 years ago

1.8.0-devwebpack

4 years ago

1.7.5

4 years ago

1.7.5-rc3

4 years ago

1.7.5-rc2

4 years ago

1.7.4

4 years ago

1.7.5-rc1

4 years ago

1.7.4-rc1

4 years ago

1.7.3

4 years ago

1.7.3-rc3

4 years ago

1.7.3-rc2

4 years ago