Skip to content

Question: stored keys are shared across users? #110

@venkatkonjeti

Description

@venkatkonjeti

I am using node-persist module in my application to store the tokens.

setItemSync("userResourceToken", "someToken...")

As per understanding this token will be shared across multiple sessions. Is that right?

If above question is true, then to separate the token for every user should I store the user specific token with unique key?
In this case server storage is an option or should I choose the any db for this purpose?

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