MillerGs / gwt-oauth2

Automatically exported from code.google.com/p/gwt-oauth2
Apache License 2.0
0 stars 0 forks source link

error in re-direct URL mismatch #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http
%3A%2F%2Fnutribalance.net%2Fwp-content%2Fplugins%2Fpaged_social_lockdown%2Flib%2
Fgoogle%2Fplus%2F&client_id=762188472537.apps.googleusercontent.com&scope=https%
3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.me&access_type=offline&approval_prompt=
force
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
I am trying to authorize my WP site to link in with the Client ID and Client 
Secret set up in Google+ but it keeps throwing up this error:
Error: redirect_uri_mismatch

The redirect URI in the request: 
http://nutribalance.net/wp-content/plugins/paged_social_lockdown/lib/google/plus
/ did not match a registered redirect URI

Please provide any additional information below.

Original issue reported on code.google.com by melbclic...@gmail.com on 5 Apr 2013 at 12:23

GoogleCodeExporter commented 9 years ago
Please Help!!! :)

Original comment by melbclic...@gmail.com on 5 Apr 2013 at 1:47

GoogleCodeExporter commented 9 years ago
From the Getting Started wiki page 
(https://code.google.com/p/gwt-oauth2/wiki/GettingStarted)

"""
The redirect URL provided by the library is oauthWindow.html, and is hosted at 
the base path of your GWT app. Remember to add this URL to your auth provider's 
redirect URLs whitelist, otherwise you will only receive errors indicating "the 
redirect URI does not match."
"""

So you need to add <your domain and path to GWT app>/oauthWindow.html to your 
list of approved redirect URLs at the provider to avoid this error.

Original comment by jasonhall@google.com on 5 Apr 2013 at 1:51