Skip to content

mogh_auth_client interacts with localStorage on module load, breaking server-side usage of komodo_client #4

@mAAdhaTTah

Description

@mAAdhaTTah

I'm working on a CI function to create a deployment on Komodo, which runs on Node. When attempting to load komodo_client in Node, it errors attempting to fetch the tokens from localStorage, which isn't available in that environment. I have worked around this by stubbing localStorage before loading the komodo_client, but it seems like this should be resolved in the auth client itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions