-
Google Sign in with Devise and Rails
Devise gives us a robust library for implementing user account management with Rails, we can expand this with Omniauth to give us support for any number of third party OAuth providers such as Google, Facebook, Apple etc. In this example we’ll create a rails 7 app with devise and then use omniauth to add support for sign in with Google.
You can find all the source for this project on Github
First create a new rails app: