Topic-icon Multi Lingual Site - Trobules with Google+, Twitter

Active Subscriptions:

None
Hi alex,
at a normal site (just german) I didn´t had problems to integrate facebook,google+ and Twitter Login.
Example: www.baddeutsch-altenburg.info/stockschuetzen

But with my own sitefor our Region, which is Multilingual (4 languages) I have big troubles with google+ and Twitter.
I made the settings as described in documentation. When trying to Login with either google+ or Twitter a new window opes first where user must confirm the connection with the site but then only a white page ishown and the user isn´t redirect back to my site.

In the settings eg google+ at the google developer site I made the settings as described in the documentation.

Authorized JavaScript origins:
altenburg-net.at
www.altenburg-net.at

Authorized redirect URI
altenburg-net.at/index.php?option=com_jf...back&provider=google
www.altenburg-net.at/index.php?option=co...back&provider=google

With these settings the Login failed as I described above. So I thought by studying the Redirect URI maybe this happens because I use multilingual site an the languages have all different landing pages. When a user clicks at language flag eg english then the site is shown like: www.altenburg-net.at/en/..... thsi also with the other languages.
(www.altenburg-net.at/de | www.altenburg-net.at/sk | www.altenburg-net./hu | www.altenburg-net.at/en)

So I tried first to include a file folder for each language in Authorized Java script origins: eg altenburg-net.at/de but this failed because of the message form google:
Invalid URI: altenburg-net.at/de

Then I tried to include the following in Authorized redirect URI:
altenburg-net.at/index.php?option=com_jf...back&provider=google
altenburg-net.at/de/index.php?option=com...back&provider=google
altenburg-net.at/sk/index.php?option=com...back&provider=google
altenburg-net.at/hu/index.php?option=com...back&provider=google
altenburg-net.at/en/index.php?option=com...back&provider=google
www.altenburg-net.at/index.php?option=co...back&provider=google
www.altenburg-net.at/de/index.php?option...back&provider=google
www.altenburg-net.at/sk/index.php?option...back&provider=google
www.altenburg-net.at/hu/index.php?option...back&provider=google
www.altenburg-net.at/en/index.php?option...back&provider=google

But no chance - still got a white page as I described above....

Hwere I thinking wrong at this point? What´s the troubleshooting to set this correct eg in google api?

Please help alex!

Regards, Karl
The topic has been locked.
Support Specialist
10 years 2 weeks ago #43637 by alzander
If you're getting a white page, please go to the Joomla -> Global Configuration area and set "Error Reporting" to "Maximum". That will hopefully display a real error message on the white page which will help us narrow things down further.

Beyond that, are you using Joomla's built-in multi-lingual abilities or a 3rd party? Are you using a reverse-proxy or anything else at the Apache level to redirect user's based on their browser, IP, or other geo-location values? If so, there may be other things going wrong, but we can help with those as well.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago #43641 by kstockl
Hi alex,
I use the joomla built in multi-lingual abilities, where I made four menus, each for the different language. the fith menu is unpublished as wrote in a joomla documentation for a multilingual site. As native language is set german. I published the joomla System - Language Filter plugin and the the language select module.

When opening the site in a browser by typing www.altenburg-net.at you the joomly plugin redirects to www.altenburg-net.at/de
When a user clicks on the flag, eg english he will redirect to www.altenburg-net.at/en


??? Are you using a reverse-proxy or anything else at the Apache level to redirect user's based on their browser, IP, or other geo-location values? ???

Alex what? Is this latin? I don´t speak latin ;-)
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago #43644 by kstockl
This are the settings in the Language filter plugin:

Language Selection for new Visitors: Site Language
Automatic Language Change: YES
Item associations: YES
Remove URL Language Code: YES
Cookie Lifetime: SESSION
Add alternate meta tags: YES

Maye there is somehting wrong in these settings?

I deinstalled all components and other components plugins except JFBConnect and Jreviews for the moment at my site to get a clearer structure.

I sent you a pm where you find the backend details for access to my site when I wrote these two threads today

Greets, Karl
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago #43646 by kstockl
Ok, alex I changed Error Setting to Maximum.

By the way - in my facebook settings I deleted the APP. Also I deleted my facebook profile in JFB Profiles to see what´s happens.

For testing I did follwing: I made a LogIn to my site. Then a I clicked below "Connect this site to your Social network?" to the facebook button.
Normally the facebook window opens and ask me to give rights to the APP for the site. But nothing happens like this. Only the message comes - You are now being logged in using your Facebook credentials.
When I take a look the app isn´t shown in my facebook settings !!?? So something goes wrong :-( But in JFB connect in Profile menu the my facebook account is shown!!??

For further testings I opened my second testsite without multilingual settings where the same APP is saved in JFBConnect settings.
I loggedIn as admin ant then I clicked to coennct with facebook. And here the the Facebook window shows me the APP for connecting and in second window the I will be asked for who will see may posts. After confirming this, the facebookaccount has been connected with my joomla account. And in my facebook settings I the app is registered.

It´s so strange :-(
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago #43694 by kstockl
Hi, Alex!

Any news about my problem?

Wit best regards, Karl
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago #43787 by kstockl
Hi Alex,
I can´t getting this to work at my site :-(
Until this problem I may not be able to work on the site. This is an important feature for site visitors because we are living in a region with 3 countries and and a lot of immigrators from turky...

Please I need your fantastic help!

Greets, Karl
The topic has been locked.
Support Specialist
10 years 2 weeks ago #43803 by alzander
Sorry for the delay. I'm having a hard time recreating the authentication issues you mention. On your site, Twitter is disabled (no keys set), so I can't test that.

With Google+, here were the tests I did:
Go to your page, and simply clicked the Login with Google button
In this case, I was authenticated with Google for the first time. My email is already in your system from a previous Facebook authentication, so my accounts were automatically linked together.

Delete account, try again
In the admin area, I deleted my existing account from the User Manager. I then authenticated with Google+ again. My account was created and it showed the "Connect this to your social networks" text with the Facebook button. That's expected since this 'new' account was never connected to Facebook.

Delete account, use English language
I deleted the account, went to the home page, clicked the English icon and then authenticated with Google+. Again, my account was created as expected.

Everything seems to be working as expected for me. Can you let me know what you're doing differently than the tests above? I'll gladly help investigate further, but at a loss for what's going wrong right now.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago - 10 years 2 weeks ago #43804 by kstockl
Hi Alex,

about google+ Login:

You´re right when you login the first time with google+ Login. The user is created in JFBConnect. this seems to be OK
Now trying follwing:

Login again with your google+
And now you will be redirecto to follwing URL:
www.altenburg-net.at/index.php?option=co...ROl05ti8ZT3ZBZTyuiwI

Here I get only shown a white page an nothing happens

Same in Twitter: after first registration all seems OK.

But after Logout and Login agin with Twitter I am redirected to following URL:
www.altenburg-net.at/index.php?option=co...71MKGR5fmfeatAzYTDNI

Here the same like google+ - just a white page

Greets, Karl
Last edit: 10 years 2 weeks ago by kstockl.
The topic has been locked.
Support Specialist
Nope, I'm still not seeing that. I just tried to re-authenticated with Google and had no issues. I then created an account with Twitter and logged out and back in a few times.

I went into your Joomla -> Configuration area and set Error Reporting to 'maximum'. Can you try again and see if there are any error messages shown on that white page? Also, if logging in doesn't work, please try to disable the Social Profiles - JomSocial plugin to see if that helps the problem. That will let us narrow things down more quickly.

Thanks,
Alex
The topic has been locked.