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

How to describe HTTP equivalent status codes in auth2 #2201

Closed
zimeon opened this issue Jan 27, 2023 · 1 comment
Closed

How to describe HTTP equivalent status codes in auth2 #2201

zimeon opened this issue Jan 27, 2023 · 1 comment

Comments

@zimeon
Copy link
Member

zimeon commented Jan 27, 2023

In the Auth2 branch we currently use "HTTP equivalent" status codes for the probe service status. We describe these as "The HTTP status code that would be returned for the resource for which this is a Probe Service.". However, in the video 302 / location example, the likely actual response would be 401 if one tried to access the original access-controlled resource ... but we still want to treat it like a 302 and access the location

@zimeon zimeon added this to the Auth 2.0 milestone Jan 27, 2023
@zimeon
Copy link
Member Author

zimeon commented Jun 7, 2023

Resolved. In Auth 2.0 have Probe Service where status is described as "The HTTP status code that would be returned for the access-controlled resource.". The location property must only be included for 30x response https://iiif.io/api/auth/2.0/#location

@zimeon zimeon closed this as completed Jun 7, 2023
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

1 participant