Suwayomi / Suwayomi-Server

A rewrite of Tachiyomi for the Desktop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Endpoints for cookie management

ackitalk opened this issue · comments

Hello, thanks for the great support and continuous updates.

What feature should be added to Suwayomi?

I see that there is a WIP pull request for implementing selenium into the server to allow for logins. It might be simpler and more flexible to just expose the ability to store/clear cookies as endpoints, and let the front end choose how to deliver those cookies:

  • Webview for android clients
  • Selenium / htmlunit / other web-browser-in-disguise libraries for java clients
  • Exporter scripts working around desktop front-ends that might not have the privileges required to directly grab the desired cookies (web, electron, etc)

This would also help in the cases where the server itself lives in a headless / containerized / remote configuration, where it wouldn't be feasible to spin up a selenium instance.

Why/Project's Benefit/Existing Problem

This would allow login credentials to be passed on to extensions.