Imagine a school that has many different student groups and a need to keep track of group memberships. In this tutorial I will show how we can use a Rails app with checkbox inputs in a form to create, update, and delete group memberships.
This past week at Turing we spent some time hand rolling third party authentication as well as implementing third party sign in using omniauth gems in our various Rails Apps. There are an impressive number of step by step tutorials for oauth with Google, but none that I found start with a test. To fill that void, I present to you all a guide to implementing Google Sign-in for your Rails App that starts with a test. Pour yourself some coffee, put on some headphones, and enjoy following the next twenty steps to test drive your Google OAuth2 implementation.