Closed dazza-codes closed 9 years ago
@ndushay and @cbeer - please consider as a bare-bones start to working with omniauth, much more work is required to use an oauth2 provider rather than the simple developer used here.
Closing this PR after discussion to implement a different solution that follows IIIF patterns, see specs and related code:
Proposing to merge this branch with master (prefer it was develop, but that doesn't exist), so that further work on using omniauth can hack an oauth2 provider. This branch is a bare-bones addition of omniauth that is completely hacked to suit the proposed SearchWorks use case for authorization to get containers. It's not using oauth2 at present, only the base :developer provider. But at least that is working (see /auth/developer in the UI and note that is is already rigged to only accept a couple of 'authorized apps').