• Token Update

    Hi,
    I'm looking into signing in through the REST API or the npm package, and in both there is a way to get a JWT and to refresh it. My question is how do I know when the token is about to expire? or what is the duration of the token?
    Also, is there a difference between getting a token through the API vs the SDK?