Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue token & cookie only valid for an hour or two? #144

Open
tectonic-pg opened this issue Nov 6, 2023 · 0 comments
Open

Issue token & cookie only valid for an hour or two? #144

tectonic-pg opened this issue Nov 6, 2023 · 0 comments

Comments

@tectonic-pg
Copy link

I followed these instructions to get an issue token and cookie. They appear to work fine and give my app access to my Nest account. However, it seems the token/cookie then expires after an hour or two. Is there any way to make them last longer?

if (!isset($result->access_token)) {
    throw new UnexpectedValueException("Response to login request doesn't contain required access token. Response: " . json_encode($result));
}

// Response: {"error":"USER_LOGGED_OUT","detail":"No active session found."}

At the same time that I get these errors in my app, I am still logged in, on their website (on Chrome).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant