Based on the documentation, the middleware checks on startup whether or not the user is present in said storage, and passes it in to the reducer, if it finds it. Dispatches of redux-oidc/USER_FOUND are triggered and we have a new persistent user in the store.
If we would like to append some more info to that user(etc one more profile setting based on calculations), is there a 'redux-oidc' way to do that?
I mean obviously, I could make my own reducer that evaluate the response of the access token, and make it persist through refreshes but I would like to utilize the nice loadUser functionality that already happens between the tabs if possible.
Based on the documentation, the middleware checks on startup whether or not the user is present in said storage, and passes it in to the reducer, if it finds it. Dispatches of redux-oidc/USER_FOUND are triggered and we have a new persistent user in the store.
If we would like to append some more info to that user(etc one more profile setting based on calculations), is there a 'redux-oidc' way to do that?
I mean obviously, I could make my own reducer that evaluate the response of the access token, and make it persist through refreshes but I would like to utilize the nice loadUser functionality that already happens between the tabs if possible.