Skip to content

Turn off Refresh in Local Run Mode #494

@katariniss

Description

@katariniss

Where we are now
When we try to run IC locally, we mock the auth token, which expires, tries to get refreshed, and gets deleted from local storage. This hinders development process.

Where we want to get
Refresh should work only on prod and in local-env. When running the service locally, we don't want the token to get cleared from local storage. This will let us develop locally without manually updating access token in local storage.

Solution
Needs further research how we can turn off the refresh.
Maybe in the package using a prop or individually in each service using a new env variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions