diff options
author | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-03-12 18:00:21 +0100 |
---|---|---|
committer | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-03-12 18:01:06 +0100 |
commit | 2d4424c28ac35763ef44c42ae2f01664d42b268c (patch) | |
tree | 4e6ebdc2e57c1c8f2c91d3ec094b340c89dfe5c5 /sdnr/wt/odlux/apps/mediatorApp/webpack.config.js | |
parent | caf781999351fc6a3e2acb5b2fe47fe04a291d2d (diff) |
Security provider for UX-Client-Login
Use ODL provided oauth2/token for UX clients
Change-Id: I9f9ae931fc5e74dc13076bd23551d163c0685606
Issue-ID: SDNC-648
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/odlux/apps/mediatorApp/webpack.config.js')
-rw-r--r-- | sdnr/wt/odlux/apps/mediatorApp/webpack.config.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js b/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js index 151170b46..94943ecd5 100644 --- a/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js +++ b/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js @@ -126,16 +126,20 @@ module.exports = (env) => { colors: true }, proxy: { + "/oauth2/": { + target: "http://localhost:3000", + secure: false + }, "/database/": { - target: "http://localhost:8181", + target: "http://localhost:3000", secure: false }, "/restconf/": { - target: "http://localhost:8181", + target: "http://localhost:3000", secure: false }, "/help/": { - target: "http://localhost:8181", + target: "http://localhost:3000", secure: false } } |