Issue when logging in to site with Google+ credentials.
When I try to login to my site (
www.mychicatopia.com/coachella) with Google+, it redirects me to Google at this URL:
accounts.google.com/ServiceLogin?
service=lso&passive=1209600&continue=https://accounts.google.com/o/oauth2/auth?scope%3Dhttps://www.googleapis.com/auth/plus.me
%2Bhttps://www.googleapis.com/auth/userinfo.email%26response_type%3Dcode%26access_type%3Doffline%26redirect_uri%3Dhttp://mychicatopia.com/coachella/index.php?option
%253Dcom_jfbconnect%2526task%253Dauthenticate.callback%2526provider%253Dgoogle%26approval_prompt%3Dauto%26state%3Dec6f6b9076106c4d4c32833797b7c647%26client_id
%3D765378605058.apps.googleusercontent.com%26hl%3Den%26from_login%3D1%26as%3D-
304ce86339951a23<mpl=popup&shdf=CnwLEhF0aGlyZFBhcnR5TG9nb1VybBoADAsSFXRoaXJkUGFydHlEaXNwbGF5TmFtZRoOY2hpY0Bjb2FjaGVsbGEMCxIGZG9tYWluGg5jaGljQGNvYWNoZWxsYQwLEhV0aGlyZ
FBhcnR5RGlzcGxheVR5cGUaB0RFRkFVTFQMEgNsc28iFCCRkIv5GhvuzkVaZzLe_nO6LLffKAEyFGZGFgBFSVmUPU-2zbzmFlS-18V5&sarp=1&scc=1
Once I type my credentials I get the following error:
Error: redirect_uri_mismatch
The redirect URI in the request:
mychicatopia.com/coachella/index.php?opt...back&provider=google did not match a registered redirect URI
Learn more
Request Details
from_login=1
cookie_policy_enforce=false
scope=https://www.googleapis.com/auth/plus.me
www.googleapis.com/auth/userinfo.email
response_type=code
access_type=offline
redirect_uri=http://mychicatopia.com/coachella/index.php?option=com_jfbconnect&task=authenticate.callback&provider=google
state=9e0be1d40bfd1c77310c9b0422a5cb72
as=6c0a74a128a4a337
display=page
client_id=765378605058.apps.googleusercontent.com
hl=en
I followed the directions here to setup my account:
www.sourcecoast.com/jfbconnect/docs/soci...le-application-setup
Because the actual URL to my this particular site where I'm using JFBconnect to authenticate via Google+ is
www.mychicatopia.com/coachella and not
www.mychicatopia.com, the Redirect URI I'm using is as follows:
mychicatopia.com/coachella//index.php?op...back&provider=google
www.mychicatopia.com/coachella//index.ph...back&provider=google
Could you tell my what I'm doing wrong?