Open roshan605 opened 6 years ago
Hi ,
I was unable to attach a role to user.
I used the below code
let store = createStore(reducers, window.REDUX_DEVTOOLS_EXTENSION && window.REDUX_DEVTOOLS_EXTENSION());
config.group = 'Admin'; // Uncomment this to require users to be in a group 'admins' setupCognito(store, config);
Please help
I haven't used that feature yet, but it looks like you need to set config.group to "testGroup" since that's the name of your group.
Hi ,
I was unable to attach a role to user.
I used the below code
let store = createStore(reducers, window.REDUX_DEVTOOLS_EXTENSION && window.REDUX_DEVTOOLS_EXTENSION());
config.group = 'Admin'; // Uncomment this to require users to be in a group 'admins' setupCognito(store, config);
Please help