README.md

oauth2_proxy_authentication gem

NOTE: This gem will not work until after bitly/oauth2_proxy#147 is integrated.

Authenticates requests from
bitly/oauth2_proxy based on a
shared-secret HMAC signature of the request.

Installation

If you're using Bundler in your project, add the
following to your Gemfile:

gem 'oauth2_proxy_authentication'

If you're not using Bundler, start.

Usage

Inject something resembling the following code fragment into your request
handling logic as the first thing that happens before the request body is
parsed, where secret_key is the shared secret between your application and
the running instance of bitly/oauth2_proxy: