← All updates

Sign in with Google

Feature
Date:
2026-11-29
Changes:
8ec2931…2e6c1a3 · 3 commits

Why it matters: One less password to remember, and your groups and teams stay exactly where they are.

You can sign up with Google, or connect Google to your existing account from Settings and then sign in with either Google or your password.

Connecting Google never creates a second account, so your groups, teams and history stay together. If you already have an account, connect Google from Settings first.

Commits (3)
  • 8ec2931 Add Google sign-in, built for more sign-in providers later
  • a8168fe Explain that an existing account must connect Google first
  • 2e6c1a3 Document that disconnecting Google doesn't block automatic reconnection
Files Changed (56)
CLAUDE.md                                          |   1 +
Gemfile                                            |   4 +
Gemfile.lock                                       |  55 ++++++
app/controllers/concerns/authentication.rb         |  19 ++-
app/controllers/groups_controller.rb               |   9 +-
app/controllers/omniauth_callbacks_controller.rb   | 190 ++++++++++++++++++++-
app/controllers/passwords_controller.rb            |  17 ++-
app/controllers/sessions_controller.rb             |   1 +
app/controllers/user_profiles_controller.rb        |   8 +-
app/javascript/controllers/flash_controller.js     |  16 ++-
app/mailers/account_security_mailer.rb             |  12 ++
app/models/user.rb                                 |  43 +++++
app/models/user_identity.rb                        |  17 ++
app/services/identity_linker.rb                    | 193 +++++++++++++++++++++
app/services/password_recovery.rb                  |  42 +++++
.../provider_connected.html.erb                    |  11 ++
.../provider_connected.text.erb                    |  13 ++
app/views/groups/show.html.erb                     |   1 +
app/views/layouts/eom_v2.html.erb                  |   3 +-
app/views/registrations/new.html.erb               |   2 +
app/views/sessions/new.html.erb                    |   8 +
app/views/shared/_flash.html.erb                   |   8 +-
app/views/shared/_sign_in_options.html.erb         |  13 ++
app/views/shared/_sign_in_provider_button.html.erb |   9 +
app/views/shared/_sign_in_tip.html.erb             |  15 ++
.../shared/provider_icons/_google_oauth2.html.erb  |   6 +
.../user_profiles/_sign_in_options_card.html.erb   |  61 +++++++
app/views/user_profiles/settings.html.erb          |   2 +
app/views/user_profiles/show.html.erb              |  15 ++
config/initializers/omniauth.rb                    |  57 ++++++
config/initializers/rack_attack.rb                 |   8 +-
config/initializers/sentry.rb                      |   3 +
config/routes.rb                                   |   9 +
.../20261129170000_create_user_identities.rb       |  17 ++
.../ssword_known_and_email_verified_at_to_users.rb |   9 +
db/schema.rb                                       |  19 ++-
docker-compose.production.yml                      |  15 ++
docs/sign_in_providers.md                          | 135 +++++++++++++++
lib/auth/providers.rb                              |  44 +++++
lib/auth/providers/base.rb                         |  88 ++++++++++
lib/auth/providers/google.rb                       |  64 +++++++
lib/oauth_attempts.rb                              |  27 +++
podman-compose.production.yml                      |   9 +
podman-compose.staging.yml                         |   6 +
test/controllers/passwords_controller_test.rb      | 108 ++++++++++++
test/integration/oauth_state_binding_test.rb       |  87 ++++++++++
test/integration/sign_in_with_provider_test.rb     | 289 ++++++++++++++++++++++++++++++-
test/lib/auth/providers/google_test.rb             |  43 +++++
test/models/group_test.rb                          |   2 +-
test/services/identity_linker_race_test.rb         |  81 +++++++++
test/services/identity_linker_test.rb              | 193 +++++++++++++++++++++
test/support/current_mock.rb                       |  11 --
test/support/omniauth_helpers.rb                   |  40 +++++
test/support/provider_adapter_contract.rb          |  47 +++++
test/system/sign_in_options_test.rb                |  66 +++++++
test/test_helper.rb                                |   5 +-
56 files changed, 2237 insertions(+), 39 deletions(-)

← All updates