Skip to content

Manually update the oidcUser object with extra info #195

Description

@nagiatzi

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions