How to Setup Google OAuth with Devise on Rails

Flavio Wuensche
4 min readNov 27, 2022

Step-by-step guide on how to set up Google Auth for a Rails app.

If you came here, I'm assuming you already have a Rails application that is up and running and that you're using Devise for authentication. If that's not the case, I'm afraid this article is not for you 😬

Step 1: Set up your project

Flavio Wuensche

Staff Engineer by day. Developing an open-source tool to help you track and visualize your technical debt by night 🍒