Getting “Error: redirect_uri_mismatch” with google_oauth2
问题 The URL's seem right (Last updated them yesterday): The files too: omniauth.rb: provider :google_oauth2, 'MY_CLIENT_ID.apps.googleusercontent.com', 'MY_CLIENT_SECRET', :scope => 'https://mail.google.com/mail/feed/atom/' Error: redirect_uri_mismatch The redirect URI in the request: http://localhost:3000/auth/google_oauth2/callback did not match a registered redirect URI header.html.erb <li><%= link_to "Sign in with Google", "auth/google_oauth2" %></li> routes.rb: match '/auth/:provider