]> git.openstreetmap.org Git - rails.git/commit
Add support for Google OAuth2 authentication
authorTom Hughes <tom@compton.nu>
Sat, 28 Feb 2015 15:56:41 +0000 (15:56 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 14 Apr 2015 09:08:07 +0000 (10:08 +0100)
commiteeb9866d50e35b8f8b75e59aed582caba533778f
tree34ff3601e6562877a284ad547fe0e89c8043d59d
parent7ed50894e2efdeaf0dd76087a99e46d6aea176c4
Add support for Google OAuth2 authentication

This replaces OpenID authentication, which is going away soon, but
provides an upgrade path where we can migrate users that already have
a Google OpenID setup to the new system transparently.
Gemfile
Gemfile.lock
app/controllers/user_controller.rb
app/helpers/user_helper.rb
app/views/user/account.html.erb
app/views/user/login.html.erb
app/views/user/new.html.erb
config/example.application.yml
config/initializers/omniauth.rb
lib/auth.rb [new file with mode: 0644]