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

Implement Auth for non-image content rendered in UV in Stacks/PURL/Embed #444

Closed
snydman opened this issue Nov 30, 2018 · 4 comments
Closed

Comments

@snydman
Copy link

snydman commented Nov 30, 2018

There is high demand to support auth for non-image content, and in particular PDF's. @hannahfrost has received multiple requests for this. We had been waiting for support in UV, and a pattern/approach from Digirati.

This requires IIIF v3 support, which we only make available for SDR objects tagged as documents or 3d objects.


Update from Digirati:

UV now supports auth on a wide range of external resources, for example:

https://universalviewer.io/examples/#?c=&m=&s=&cv=&manifest=https%3A%2F%2Fiiifauth.digtest.co.uk%2Fmanifest%2F21_av_lego

This follows the candidate next gen auth spec I developed in this issue - IIIF/api#1290 (comment) – I went through the approach on a couple of AV calls (Tommy has seen it). Obviously there’s a big warning around this in that it’s an extension of the current auth spec. But I hope that IIIF Auth 2.0 will look substantially like this, and the UV understands this pattern.

Tests and examples: https://iiifauth.digtest.co.uk/

There is even an approach for adaptive bit rate media. This is where the auth spec stops and community patterns take over, as discussed in that issue.

Apart from the diagram, none of this is written in prototype spec form. That is something we will probably need to decide priorities about in Edinburgh (both Auth and Search need to be aligned with Presentation 3). But there should be enough in my test site to guide a server-side implementation, and I’m obviously happy to provide help on that.

@cbeer cbeer changed the title Implement Auth for non-image content in Stacks/PURL/Embed Implement Auth for non-image content rendered in UV in Stacks/PURL/Embed Nov 30, 2018
@hannahfrost
Copy link
Member

Here is a doc with some use cases listed: https://docs.google.com/document/d/1VzWMKPguoS1Za7baJro4WU8Nfy0XU8ttenGB9ZCU5yo/edit#

One question about scope: should I include cases for objects of "file" type with single non-PDF file or multiple files of any format?

Bring on your questions! Thanks for looking into this.

@cbeer
Copy link
Member

cbeer commented Dec 5, 2018

I spent some time trying to digest the diagrams of the new auth stuff; I think there's several hours of work involved (plus whatever time is necessary to deal with updating UV), but it may be worth holding off until there's at least a draft spec for this. Hopefully something useful comes out of Edinburgh.

@thatbudakguy
Copy link
Member

Do we use UV anymore? Could this be closed?

@hannahfrost
Copy link
Member

I think this issue can be closed, because we no longer use the UV viewer. Any open needs related to auth, non-image content and IIIF v3 can be ticketed separately as needed.

@thatbudakguy thatbudakguy closed this as not planned Won't fix, can't repro, duplicate, stale Dec 8, 2023
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

No branches or pull requests

4 participants