openstax/tutor — pull request #5 by Dantemss (2014-09-26 23:03:24+00:00)
Title: FinePrint 401 error for API's

If you don't merge this: FinePrint will keep issuing redirects if contracts are invalid. Phil then has to receive the redirect response and redirect appropriately.

If you merge this: FinePrint will issue a 401 Unauthorized with the contract ids in the WWW-Authenticate header. Phil then has to redirect appropriately.

Another option might be making an API for Phil to get the contract text from, and then handle the signing himself. This will likely live in Tutor, outside of FinePrint.