Skip to content

JAN3 Account LN Address support#112

Draft
coelhogonzalo wants to merge 8 commits into
developfrom
108-jan3-lightning-addresses
Draft

JAN3 Account LN Address support#112
coelhogonzalo wants to merge 8 commits into
developfrom
108-jan3-lightning-addresses

Conversation

@coelhogonzalo

Copy link
Copy Markdown
Collaborator

No description provided.

POST /api/v1/auth/refresh/ on Jan3AccountsClient plus _refresh_access_token
and _with_refresh_retry on Jan3AccountsManager: any authed call that 401s
mints a new access token (refresh_token preserved on disk) and retries once.
A second 401, or a 401 from the refresh itself, deletes the local session
so a poisoned bearer doesn't keep hitting the backend.

Ported from 108-jan3-lightning-addresses so the auth surface ships with a
complete contract before LN-feature work lands its first authed caller.
Base automatically changed from 39-jan3-accounts-ln to develop July 1, 2026 16:42
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

Successfully merging this pull request may close these issues.

2 participants