This is a beta version of migrating these workshop materials to a new platform. If you run into issues please file an issue or click on the edit link above and submit a pull request. You can use the previous version of the workshop materials as a fallback.
What if you need to restrict access to some resources? Or provide differential access based on the user? How would you continue to use the core IIIF APIs while accomplish
The Authentication API helps to orchestrate a workflow so that untrusted applications can go through required authentication steps. The untrusted IIIF client does not handle login or accepting user credentials itself, but just manages the workflow appropriately.
How you handle a logged in user differently from any other user is an implementation detail. Options include showing the user a lower resolution or degraded version of the image.
The API supports the following interaction patterns:
Login: The user will be required to log in using a separate window with a UI provided by an external authentication system.
Click through: The user will be required to click a button within the client using content provided in the service description.
Kiosk: The user will not be required to interact with an authentication system, the client is expected to use the access cookie service automatically.
External: The user is expected to have already acquired the appropriate cookie, and the access cookie service will not be used at all.
Auth Demonstrator https://iiifauth.digtest.co.uk/