Skip to content

Commit

Permalink
trying stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
danarnold committed Jan 10, 2014
1 parent 60f1973 commit e37d691
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth/hubspot/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module OmniAuth
module HubSpot
VERSION = "0.0.13"
VERSION = "0.0.14"
end
end
2 changes: 2 additions & 0 deletions lib/omniauth/strategies/hubspot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def callback_phase
self.refresh_token = request.params[:refresh_token]
self.expires_in = request.params[:expires_in]

self.env['omniauth.auth'] = auth_hash
call_app!
rescue ::OAuth2::Error, CallbackError => e
fail!(:invalid_credentials, e)
rescue ::MultiJson::DecodeError => e
Expand Down

0 comments on commit e37d691

Please sign in to comment.