Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPDS Bookserver should support BasicAuth Lending + Web-view link to borrow #49

Open
mekarpeles opened this issue Jun 18, 2018 · 4 comments

Comments

@mekarpeles
Copy link
Member

mekarpeles commented Jun 18, 2018

Web-view

Aldiko reader uses the web-view approach where clicking borrow link sends the user offsite to login to a partner service + to fulfill the book.

Here's an example @HadrienGardeur put together for the "web-view" link case:
http://feedbooks.github.io/opds-test-catalog/demo/openlibrary.atom

http://opds-spec.org/acquisition/borrow is used to specify a acquisition/borrow link (which sends the user to openlibrary [or alternativelyIA] to login + fulfill)
<link rel="http://opds-spec.org/acquisition/borrow" type="text/html" href="https://openlibrary.org/books/OL9499030M/Hegira/borrow">

Basic Auth

Alternatively, SimplyE has the user enter their credentials when they first select a source library. These credentials are stored in app and then passed along with borrow requests to a different acquisition link (?)
https://docs.google.com/document/d/1-_0HHt664bDjybtCauBJXUSDXiT-Clg1sZUVNxHyLjw/edit#heading=h.vr02rhcxbns3

@bfalling @hornc

@mekarpeles
Copy link
Member Author

@mekarpeles
Copy link
Member Author

Tagging @hornc

@gautierchomel
Copy link

I'm running into the same issue while browsing the opds feed thru Thorium Reader. I can't find a way to borrow from the application nor to get access to any book borrowed from the web page.

At least a mention of books subjects to acquisition policy should appear so one can discriminate and choose a book available without authentication.

@gautierchomel
Copy link

gautierchomel commented Jul 31, 2023

Update, correct feed with authentication available at https://archive.org/services/opds or opds://archive.org/services/opds (direct link not authorized by github).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants