Suwayomi / Suwayomi-Server

A rewrite of Tachiyomi for the Desktop
Mozilla Public License 2.0
4.02k stars 205 forks source link

[Feature Request] Endpoints for cookie management #936

Open ackitalk opened 5 months ago

ackitalk commented 5 months ago

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:

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.