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

Link from root OPDS feed #5

Open
leonardr opened this issue Oct 26, 2018 · 0 comments
Open

Link from root OPDS feed #5

leonardr opened this issue Oct 26, 2018 · 0 comments

Comments

@leonardr
Copy link
Contributor

This is one of a series of proposals for taking NYPL's extensions to Authentication For OPDS and adding them to the core document.

https://github.com/NYPL-Simplified/Simplified/wiki/Authentication-For-OPDS-Extensions#link-to-the-a4opds-document-from-server-root

The root feed of an OPDS server should link to its Authentication For OPDS document using rel="http://opds-spec.org/auth/document" and a type that makes it clear the document on the other end is an A4OPDS document (that is, type="application/vnd.opds.authentication.v1.0+json"). This guarantees that a client can always find the A4OPDS document. If the root feed requires authentication, that's fine, because the A4OPDS document is also supposed to be served as the entity-body of a 401 response.

This makes it easy to find the A4OPDS document without stumbling around the catalog hoping to trigger a 401.

@HadrienGardeur HadrienGardeur changed the title Authentication For OPDS enhancement: link from root OPDS feed Link from root OPDS feed Oct 26, 2018
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