Omniauth should only be available when a user is already logged in (not in the sign in page). In the settings area, there should be a link where a user can link their existing account, that was set up with devise, and going through google should send them back to their account with the uid, token, and refresh token from google.
Omniauth should only be available when a user is already logged in (not in the sign in page). In the settings area, there should be a link where a user can link their existing account, that was set up with devise, and going through google should send them back to their account with the uid, token, and refresh token from google.