Commit Graph

15 Commits

Author SHA1 Message Date
Pat Allan f39c6fd927 Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
Lucas Mazza f64022a57b
Remove deprecated OmniAuth URL helpers. 2016-05-03 18:32:56 -03:00
Lucas Mazza 2040b021e1
Extend the deprecation horizon for the ParameterSanitizer and the OmniAuth helpers. 2016-04-29 16:20:01 -03:00
Lucas Mazza 5b1182460c Deprecate legacy OmniAuth URL helpers. 2016-03-09 10:36:39 -03:00
Lucas Mazza ec07bdb315 Do not use the dynamic `:action` segment on Omniauth routes.
This was deprecated on rails/rails#23980.

We now generate scope and provider specific routes, like `user_facebook_omniauth_callback`
or `user_github_omniauth_callback`.

We could deprecate the `omniauth_authorize_path` in favor of the generated routes, but
the `shared/links.html.erb` depends on it to generate all omniauth links at once.

Closes #3983.
2016-03-07 11:19:27 -03:00
Doug Puchalski 46c01d642b Use _devise_route_context in omniauth url_helpers 2014-02-02 16:45:26 -08:00
José Valim b1633f2454 Delegate omniauth_authorize_path to the router, closes #1843 2012-06-16 13:43:11 +02:00
José Valim fac02b58bc Another attempt to fix the misterious loading helpers bug. 2011-10-18 08:35:50 +02:00
José Valim 990dcc8eef Try to fix the misterious case where some url helpers are not defined. 2011-10-09 11:50:48 +02:00
Vinicius Baggio 305059f573 Consider SCRIPT_NAME on omniauth url helper. Closes #876 2011-02-25 14:20:12 -03:00
David A. Cuadrado 09a46695f2 omniauth route should not add a ? if no param is given 2010-10-31 03:06:53 +08:00
David A. Cuadrado bf19b15914 added open id support via omniauth 2010-10-31 03:06:52 +08:00
bUg d8f33b8925 omniauth routes fix, see devise issue #600 2010-10-29 20:48:40 +08:00
José Valim 611261c64e More tests for Omniauth. 2010-10-18 15:00:34 +02:00
José Valim 21d5e50054 Basic omniauth support. 2010-10-18 15:00:34 +02:00