Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Session docs overstate expiry: no default lifetime, and invalidation clears fields rather than deleting the row

Open
#277 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@heskew is already working on this.

Since Oct 2, 2026.

Assessment

This issue has not been assessed yet.

Description

docs/token-refresh-and-sessions.md (around line 141) says Harper sessions "default 24 hours" and that an expired session "is deleted from hdb_session". Neither is accurate:

  • Harper sessions have no default expiry.
  • When the plugin invalidates an OAuth session, it clears the session's oauth/user fields rather than deleting the row.

This matters for security reasoning. Operators reading the doc will underestimate how long a session can live, which is the premise behind #231 §1 (neutralizing pre-gate sessions) and #273 (a held roleless session inheriting a role later).

Fix:

  • State the actual lifetime: no expiry unless the app sets one.
  • Describe what invalidation clears.
  • Point to the interim mitigation of clearing system.hdb_session where relevant.
  • Grep the other docs for the same claim.
Dominant language
JavaScript
Stars
1
Forks
3
Avg merge
1d 58m
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HarperFast/oauth

All issues in HarperFast/oauth

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.