[openstreetmap-website] Google OAuth support (#918)
Tom Hughes
notifications at github.com
Sat Feb 28 17:39:30 UTC 2015
This replaces our existing OpenID based support for logging in with Google with an OAuth based approach, which will resolve #897 and deal with the forthcoming remove of OpenID support by Google.
It's not ready for merging quite yet because it requires a small patch to the `omniauth-google-oauth2` gem to support transparent upgrading of OpenID logins to OAuth logins.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/918
-- Commit Summary --
* Add support for Google OAuth2 authentication
* Add tests for Google OAuth authentication
-- File Changes --
M Gemfile (1)
M Gemfile.lock (13)
M app/controllers/user_controller.rb (23)
M app/helpers/user_helper.rb (2)
M app/views/user/account.html.erb (2)
M app/views/user/login.html.erb (4)
M app/views/user/new.html.erb (2)
M config/example.application.yml (8)
M config/initializers/omniauth.rb (10)
A lib/auth.rb (4)
M test/fixtures/users.yml (20)
M test/integration/user_creation_test.rb (118)
M test/integration/user_login_test.rb (139)
M test/models/user_test.rb (6)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/918.patch
https://github.com/openstreetmap/openstreetmap-website/pull/918.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/918
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150228/09eee96f/attachment.html>
More information about the rails-dev
mailing list