@luigi-project/plugin-auth-oidc 2.7.2 → 2.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,7 +79,6 @@ Respectively from `oidc-client` library you need:
|
|
|
79
79
|
and from our library `@luigi-project/plugin-auth-oidc` you need:
|
|
80
80
|
- `plugin.js`
|
|
81
81
|
- `silent-callback.html`
|
|
82
|
-
- `plugin-ie11.js` (for IE11 only)
|
|
83
82
|
which all reside under `node_modules/@luigi-project/plugin-auth-oidc/plugin.js`.
|
|
84
83
|
|
|
85
84
|
The above mentioned files should be copied to `assets/auth-oidc` as the default location.
|
|
@@ -100,10 +99,6 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
|
100
99
|
from: 'node_modules/@luigi-project/plugin-auth-oidc/plugin.js',
|
|
101
100
|
to: 'assets/auth-oidc'
|
|
102
101
|
},
|
|
103
|
-
{
|
|
104
|
-
from: 'node_modules/@luigi-project/plugin-auth-oidc/plugin-ie11.js',
|
|
105
|
-
to: 'assets/auth-oidc'
|
|
106
|
-
},
|
|
107
102
|
{
|
|
108
103
|
from: 'node_modules/@luigi-project/plugin-auth-oidc/silent-callback.html',
|
|
109
104
|
to: 'assets/auth-oidc'
|
|
@@ -122,7 +117,7 @@ If your application does not use webpack or you installed Luigi without a framew
|
|
|
122
117
|
```javascript
|
|
123
118
|
"buildConfig": "webpack --entry ./src/luigi-config/luigi-config.es6.js --output-path ./public/assets --output-filename luigi-config.js --mode production",
|
|
124
119
|
"build": "npm run buildConfig && npm run copyCallbackOIdc",
|
|
125
|
-
"copyCallbackOidc": "copyfiles -f node_modules/@luigi-project/plugin-auth-oidc/silent-callback.html node_modules/@luigi-project/plugin-auth-oidc/plugin.js node_modules
|
|
120
|
+
"copyCallbackOidc": "copyfiles -f node_modules/@luigi-project/plugin-auth-oidc/silent-callback.html node_modules/@luigi-project/plugin-auth-oidc/plugin.js node_modules/oidc-client/dist/oidc-client.min.js public/assets/auth-oidc"
|
|
126
121
|
```
|
|
127
122
|
|
|
128
123
|
Running `npm run build` should then suffice to bundle the config and also copy the callback file.
|
package/package.json
CHANGED