Skip to content

feat: add password login refresh#32

Open
Littleor wants to merge 1 commit into
aloth:mainfrom
Littleor:main
Open

feat: add password login refresh#32
Littleor wants to merge 1 commit into
aloth:mainfrom
Littleor:main

Conversation

@Littleor

Copy link
Copy Markdown

Summary

Adds email/password login support for self-hosted instances.

Users can now run:

olcli --base-url https://latex.example.org auth --email user@example.com --password password

The credentials are saved locally, and if the session cookie expires, olcli automatically logs in again and refreshes the stored session.

Changes

  • Add OverleafClient.fromPasswordLogin
  • Support olcli auth --email --password
  • Persist login credentials in local config
  • Auto-refresh expired sessions
  • Add the same fallback for MCP
  • Update README docs

Testing

  • npm run build
  • Tested login, whoami, list, and expired-session refresh against a self-hosted Overleaf instance

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.

1 participant