Commit Graph

21 Commits

Author SHA1 Message Date
Tom Milewski 74bcbd7122 Ensure hook names are descriptive enough.
before_options_phase
before_request_phase
before_callback_phase
2013-09-02 21:05:18 -04:00
Tom Milewski a239ba2980 set hooks as nil and check for presence 2013-09-02 15:30:32 -04:00
Tom Milewski c3942078cf Fix up specs from bleeding into others
Merge branch 'hooks' of github.com:cromulus/omniauth into cromulus-hooks

Conflicts:
	lib/omniauth.rb
2013-09-02 15:12:52 -04:00
Josh Jordan 56561ee5eb Make raise_out! configurable 2013-06-20 17:18:35 -04:00
Bill Cromie e9e8a6a0d2 got the hooks working, but insofar as testing anything other than just creating the hooks, I'll have to get to that later 2013-04-01 13:42:24 -04:00
Erik Michaels-Ober 2e06f2ebca Move development dependencies into Gemfile 2013-01-25 10:25:04 -08:00
Michael Bleigh 1a16151ab6 Adds logging. Closes #583 2012-04-12 15:50:13 -05:00
Michael Bleigh d02f9d58f7 Improves error handling behavior. Closes #578.
* OmniAuth::FailureEndpoint will raise any encountered
  errors out if RACK_ENV is development.
* It will redirect compatibly with current OmniAuth if
  not in development.
* Now uses Rack::Response to include a content length
  in the failure response.
2012-03-05 23:11:35 -05:00
Michael Bleigh 5fbc41943d Extract default on_failure into class. References #578. 2012-03-05 20:27:08 -05:00
Michael Bleigh ce9b5b088f Merge pull request #554 from toyokazu/master
A request to insert env['SCRIPT_NAME'] before on_failure new_path
2012-01-17 13:00:50 -08:00
dombi.attila 2f35ace86d mock_auth default is now an AuthHash instead of hash. 2012-01-05 12:44:51 +02:00
Toyokazu Akiyama 9022d66cea insert env['SCRIPT_NAME'] before on_failure path
handle sub_uri (a.k.a. BaseURI) at on_failure
2011-12-13 14:54:59 +09:00
Glenn Gillen b4b8a127b8 Update mock auth to match what is actually returned. 2011-11-13 00:02:49 +00:00
Michael Bleigh 250963a59c Adds Developer strategy for default auth. 2011-10-16 19:27:26 -04:00
Michael Bleigh 53bc3f5741 Small but powerful change: Strategy options now inherit from a default, are Mashes, and can be declaratively configured. 2011-09-26 11:44:17 -05:00
Michael Bleigh 98bc2b9a4a Camelizations are now added through OmniAuth.config 2011-09-22 18:49:22 -05:00
Michael Bleigh 69177f3b10 Moves omniauth/core to just plain omniauth 2011-09-22 13:25:41 -05:00
Michael Bleigh cc73281406 Clearing out everything to move towards the new 1.0 independent gems strategy. 2011-09-03 21:26:57 -03:00
James A. Rosen 2f77d46ce7 Moved HttpBasic to oa-more. Closes #327 2011-06-05 18:12:23 -07:00
Michael Bleigh 19c212da72 Fixing up some dependencies and such. 2011-05-04 02:41:37 -05:00
Erik Michaels-Ober 1d100ab8e9 New versioning system to support testing on http://test.rubygems.org/ 2011-04-22 11:41:33 -05:00
Renamed from omniauth/lib/omniauth.rb (Browse further)