Friday 2 August 2013

Google OmniAuth. Error: redirect_uri_mismatch

If you are using Google OmniAuth with devise and you get this error.

Error: redirect_uri_mismatch

The redirect URI in the request: http://localhost:3000/users/auth/google_oauth2/callback did not match a registered redirect URI.

Copy the highlighted text and Go into the Google developer API where you have registered your App edit sittings and paste it there in the Google redirect URI.

No comments:

Post a Comment