Tom Milewski
6a8292cb08
Type-cast ENV['RACK_ENV'] per master; Compartmentalize specs
2013-09-01 14:31:24 -04:00
Josh Jordan
56561ee5eb
Make raise_out! configurable
2013-06-20 17:18:35 -04:00
slainer68
c0e7743b14
Use Rack::Utils escape instead of CGI as it's included in Rack and may fix the travis build :)
2012-04-11 01:06:05 +02:00
slainer68
a364cf4bea
Adds strategy parameter with the strategy name in the failure end point redirect callback.
2012-04-10 20:42:02 +02:00
Michael Bleigh
bcd891aec4
Adds 'origin' param to default failure redirect. Closes #569
2012-03-20 21:47:03 -04: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