Awesome
iiif-auth-client
This is a client implementation of the IIIF Authorization Flow specification. It can be used to test individual auth-enabled IIIF Image services:
...or it can be given a list of manifests that will populate a drop-down:
The accompanying server implementation (see below) expects username=username, password=password whenever it presents a login screen.
iiif-auth-client
is written in ES6 with no dependencies and no transpiling. It is therefore not intended for production use unaltered, but as an example implementation. As ES6 it is easier to understand how the IIIF Auth specification orchestrates the user through one or more interaction patterns, because asynchronous user behaviour and HTTP requests to services can be encapsulated in async
functions.
The example server implementation:
- Running example: tomcrane.github.io/iiif-auth-client
- Source: iiif-auth-server