I am trying to implement login from google in my rails app.I am following instructions from README file at github page of the "omniauth-google-oauth2" LINK.I am trying to use the name parameter in devise.rb config file so that links are from "google" and not "google_oauth2".
So i have added:
config.omniauth :google_oauth2, "GOOGLE_CLIENT_ID", "GOOGLE_CLIENT_SECRET", { name: "google" }
But in the bottom links of devise views the link is still
http://localhost:3000/users/auth/google_oauth2but clicking on this link gives
Not found. Authentication passthru.on page.
But now
http://localhost:3000/users/auth/googleworks.How do i fix the link?