Skip to content

Only allows one user to be logged in #6

@Yamaha32088

Description

@Yamaha32088

I appreciate all the work that went into this and the tutorial it was very insightful. I think currently though with the code implementation in this repo it will not allow for multiple different people to be logged in. Inside of auth.js you set inMemoryToken but it is shared across all users. For example if I start the app in development mode and login it will set inMemoryToken just fine. Now if I open another Browser in incognito it thinks I am still logged in as the other user because inMemoryToken already exists.

Do you know of a workaround for this?

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