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

Improvement: delete session on Aurora server #31

Open
lekanteto opened this issue Mar 22, 2024 · 1 comment
Open

Improvement: delete session on Aurora server #31

lekanteto opened this issue Mar 22, 2024 · 1 comment

Comments

@lekanteto
Copy link
Contributor

The official Kilter app uses the same session token for a long time. I've been playing around with it for over a week and it has never requested a new session.
BoardLib creates a new session everytime it runs.

Should we end the session after we got all wanted information from the server so it doesn't have to store so many useless sessions?

The API call looks like this:

DELETE https://kilterboardapp.com/sessions/my_session_token
Authorization: Bearer my_session_token
@lemeryfertitta
Copy link
Owner

Sure, for the logbook command this seems like a reasonable minor improvement. Perhaps the bigger improvement here would be to have the option to stash tokens somewhere, so that the login could be skipped. For Climbdex, I store these as cookies. For command-line usage, perhaps a file somewhere which maps username + board name to last session token.

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

2 participants