0.0
No commit activity in last 3 years
No release in over 3 years
OmniAuth strategy for PG&E.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

> 1.7
~> 0.8
~> 0.6.3
~> 10.0
~> 3.2
~> 0.10
~> 1.21

Runtime

 Project Readme

OmniAuth PG&E

OmniAuth strategy for PG&E's Share My Data using OAuth2.

Gem Version Build Status Code Climate Coverage Status Dependency Status

Usage

Add the strategy to your Gemfile alongside OmniAuth:

gem 'omniauth'
gem 'omniauth-pge'

Then integrate the strategy into your middleware:

use OmniAuth::Builder do
  provider :pge, ENV['PGE_CLIENT_ID'], ENV['PGE_CLIENT_SECRET']
end

In Rails, you'll want to add to the middleware stack:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :pge, ENV['PGE_CLIENT_ID'], ENV['PGE_CLIENT_SECRET']
end

For additional information, refer to the OmniAuth wiki.

Contributing

Feedback, feature requests, and fixes are welcomed and encouraged. Please make appropriate use of Issues and Pull Requests. All code should have accompanying tests.

Be sure to familiarize yourself with the Code of Conduct.

License

Please see LICENSE for licensing details.