Commit Graph

15 Commits

Author SHA1 Message Date
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
Thomas Walpole 2024fca4df Rails 5 compatability. Remove rails < 4.1 and Ruby < 2.1 2015-12-11 09:47:30 -08:00
Anshul Sharma dc1b399a8b Updated ruby 1.9 hash syntax 2014-02-25 22:12:55 +05:30
Carlos Antonio da Silva 69f79ad446 Let Devise play with both Rails 3.2 and Rails 4 for now 2013-05-05 19:55:06 -03:00
Santiago Pastorino 10f93129c3 Rails 4 now raises ActionController::UrlGenerationError
This is the commit in Rails
https://github.com/rails/rails/commit/db06d128
2013-02-25 22:12:21 -03:00
José Valim b1633f2454 Delegate omniauth_authorize_path to the router, closes #1843 2012-06-16 13:43:11 +02:00
TamiasSibiricus 2a29e87eb9 Update dependencies for OmniAuth 1.0.0 stable 2011-11-07 22:58:33 +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
Sergey Kojin 58f8c7c613 support for named omniauth open_id strategies 2011-05-25 00:15:24 +04: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
José Valim 611261c64e More tests for Omniauth. 2010-10-18 15:00:34 +02:00
José Valim 2f360bf201 Remove OAuth2 in favor of OmniAuth. 2010-10-18 15:00:34 +02:00
Renamed from test/oauth/url_helpers_test.rb (Browse further)