code.chingr.com

Collection of my Open Source projects

Download .zip Download .tar.gz View on GitHub

OmniAuth Avvo

Avvo.com strategy for OmniAuth

Usage

in your omniauth.rb:

  provider :avvo, YOUR_APP_ID, YOUR_APP_SECRET

Your request.env['omniauth.auth'] hash will contain:

  • name - friendly name
  • email - your login email address
  • permissions - array of granted permissions on Avvo.com

See OmniAuth docs for more information on integrating with a standard OmniAuth strategy.

Obtaining an API Key

Contact Josh King to get set up.