[openstreetmap-website] Convert OpenID authentication to use OmniAuth (#906)

Tom Hughes notifications at github.com
Sun Feb 22 13:00:58 UTC 2015


This switches our OpenID authentication to use OmniAuth instead of the open_id_authentication plugin, and prepares things for the addition of other authentication providers.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/906

-- Commit Summary --

  * Convert openid authentication to use omniauth
  * Rework openid tests for new flows using omniauth mocking
  * Convert OpenID authentication to generic third party authentication

-- File Changes --

    M Gemfile (6)
    M Gemfile.lock (50)
    M app/assets/javascripts/user.js (118)
    M app/assets/stylesheets/common.scss (4)
    M app/controllers/user_controller.rb (240)
    M app/helpers/user_helper.rb (12)
    M app/models/user.rb (4)
    M app/views/user/account.html.erb (12)
    M app/views/user/login.html.erb (41)
    M app/views/user/new.html.erb (51)
    A config/initializers/omniauth.rb (29)
    D config/initializers/openid.rb (7)
    M config/locales/en.yml (23)
    M config/routes.rb (5)
    A db/migrate/20150222101847_rename_openid_url.rb (11)
    M db/structure.sql (48)
    M test/controllers/user_controller_test.rb (3)
    M test/fixtures/users.yml (3)
    M test/integration/user_creation_test.rb (51)
    M test/integration/user_login_test.rb (74)
    M test/test_helper.rb (37)
    D vendor/gems/rots-0.2.1/.specification (112)
    D vendor/gems/rots-0.2.1/AUTHORS (2)
    D vendor/gems/rots-0.2.1/README (64)
    D vendor/gems/rots-0.2.1/Rakefile (125)
    D vendor/gems/rots-0.2.1/bin/rots (99)
    D vendor/gems/rots-0.2.1/lib/rots.rb (11)
    D vendor/gems/rots-0.2.1/lib/rots/identity_page_app.rb (36)
    D vendor/gems/rots-0.2.1/lib/rots/server_app.rb (147)
    D vendor/gems/rots-0.2.1/lib/rots/test_helper.rb (16)
    D vendor/gems/rots-0.2.1/rots.gemspec (31)
    D vendor/gems/rots-0.2.1/spec/server_app_spec.rb (99)
    D vendor/gems/rots-0.2.1/spec/spec_helper.rb (73)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/906.patch
https://github.com/openstreetmap/openstreetmap-website/pull/906.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/906
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150222/7ae64e88/attachment.html>


More information about the rails-dev mailing list