Bobby McDonald
43a396f181
Merge branch '2_0-indev' into fix-path-prefix-when-redirecting-on-failure
2020-12-10 10:10:02 -05:00
Josh Jordan
ee2ef211d5
Rescues from strategy calls by calling fail!, properly URL encodes message_key for FailureEndpoint handling
...
Do not rescue around mock_call!
2020-12-07 18:47:55 -05:00
Cyril Rohr
eb5047ad51
Make the FailureEndpoint respect the strategy's path_prefix.
...
Previously, it just fetched the global path_prefix.
2020-01-31 11:29:41 +00:00
Erik Michaels-Ober
518e9b6a07
Redundant merge
2016-08-08 10:54:19 -07:00
Erik Michaels-Ober
61a6440786
Do not use trailing underscores in parallel assignment
2015-05-25 11:17:51 +02:00
Erik Michaels-Ober
d9683a8880
Fix RuboCop offenses
2014-01-16 05:22:36 +01:00
Tom Milewski
6a8292cb08
Type-cast ENV['RACK_ENV'] per master; Compartmentalize specs
2013-09-01 14:31:24 -04:00
Tom Milewski
c6deafc5eb
update for code readability
2013-09-01 14:16:35 -04:00
Tom Milewski
596d29fba0
Merge branch 'jsj-configurable-raise-out' of github.com:joshjordan/omniauth into joshjordan-jsj-configurable-raise-out
2013-09-01 14:08:55 -04:00
Erik Michaels-Ober
3befe4c4e6
Replace stub with allow...to receive
2013-07-09 10:17:30 +02:00
Josh Jordan
56561ee5eb
Make raise_out! configurable
2013-06-20 17:18:35 -04:00
Kenichi Kamiya
e515908f10
Remove warnings "assigned but unused variable" in spec
2013-03-13 07:56:49 -07:00
Erik Michaels-Ober
213451064d
Rename spec_helper -> helper
2013-02-25 16:05:37 -08:00
Erik Michaels-Ober
94772cfbfe
Convert to the new RSpec expectation syntax
2012-10-10 01:36:06 -07:00
slainer68
d8e82f7975
Fixing build on 1.8.7
2012-04-12 02:13:22 +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