lib/omniauth/strategies/oauth.rb in oa-oauth-0.1.1 vs lib/omniauth/strategies/oauth.rb in oa-oauth-0.1.2
- old
+ new
@@ -21,13 +21,10 @@
end
def callback_phase
request_token = ::OAuth::RequestToken.new(consumer, session[:oauth][name.to_sym].delete(:request_token), session[:oauth][name.to_sym].delete(:request_secret))
@access_token = request_token.get_access_token(:oauth_verifier => request.params['oauth_verifier'])
-
- request['auth'] = self.auth_hash
-
- @app.call(self.env)
+ super
rescue ::OAuth::Unauthorized
fail!(:invalid_credentials)
end
def auth_hash