diff options
author | 2021-02-15 18:22:28 +0100 | |
---|---|---|
committer | 2021-02-15 18:23:57 +0100 | |
commit | 8515052e1a6de2de56effbc61c73d3aa80169a93 (patch) | |
tree | 8707b2b587890522b35cd7dd1b54ce4f006f1c3a /sdnr/wt/odlux/framework/src/store | |
parent | db20d36689c011333ed7216b64d3e987e473f1ee (diff) |
Add OAuth support to odlux
Extend odlux to support oauth, support external login provider for sign-in
Issue-ID: CCSDK-3167
Signed-off-by: Aijana Schumann <aijana.schumann@highstreet-technologies.com>
Change-Id: Id5772e0026fa7ebda22c41c2620a7868598f41aa
Diffstat (limited to 'sdnr/wt/odlux/framework/src/store')
-rw-r--r-- | sdnr/wt/odlux/framework/src/store/applicationStore.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sdnr/wt/odlux/framework/src/store/applicationStore.ts b/sdnr/wt/odlux/framework/src/store/applicationStore.ts index 287eba31c..a4545eff9 100644 --- a/sdnr/wt/odlux/framework/src/store/applicationStore.ts +++ b/sdnr/wt/odlux/framework/src/store/applicationStore.ts @@ -32,6 +32,7 @@ import apiMiddleware from '../middleware/api'; import thunkMiddleware from '../middleware/thunk'; import loggerMiddleware from '../middleware/logger'; import routerMiddleware from '../middleware/navigation'; +import { updatePolicies } from '../middleware/policies'; export type MiddlewareApi = MiddlewareArg<IApplicationStoreState>; @@ -65,7 +66,7 @@ export const applicationStoreCreator = (): ApplicationStore => { return acc; }, { framework: frameworkHandlers } as any); - const applicationStore = new ApplicationStore(combineActionHandler(actionHandlers), chainMiddleware(loggerMiddleware, thunkMiddleware, routerMiddleware, apiMiddleware, ...middlewares)); + const applicationStore = new ApplicationStore(combineActionHandler(actionHandlers), chainMiddleware(loggerMiddleware, thunkMiddleware, routerMiddleware, apiMiddleware, updatePolicies, ...middlewares)); setApplicationStore(applicationStore); return applicationStore; } |