Home to use OpenFire in Multi Device? - xmpp

As installed in linux server OpenFire unable to default work on multi device login with same user id.
I had my desktop and mobile and laptop, want same user id to enable in 3 devices. Default did not work.
How may I enable it ?

http://ejabberd.yourwebsite.com:9090/ OpenFire Admin
In OpenFire Management Panel,
Property Name : route.all-ressources
Property Value : true

Related

Signing in of registered users on ejabberd server from Conversations client app is not working

I have an ejabberd server running on Amazon EC2. I added users from the web admin console and then I tried to log in from Conversations app using the JID as my-name#ec2-3-142-252-179.us-east-2.compute.amazonaws.com and using the password assigned during registration. But it keeps on saying "server not found". Please tell me where I am doing wrong. Thank you.
Here is the screenshot of web admin console
Sign in page
I never used Amazon EC2, so I will only give you some wild ideas. Also, I don't have Conversations in English, so my translation may not be exactly like what you see:
A) In that same window, click in ... -> Preferences -> Experts Configuration -> Extended connection configuration: enable that option. Now you get another two fields, so you can tell there Conversations exacly the host (or the IP address) and port of ejabberd. Maybe adding it here helps?
B) When you attempt the connection in Conversations, do you get anything relevant in ejabberd.log or similar? I guess no
C) You can access ejabberd webadmin from your PC, but you can't from your Android phone. Just for curiosity, can you access the ejabberd webadmin from your mobile?
D) You can install some desktop Jabber client, like Gajim, Psi,... in your PC. Do those eclients connect to ejabberd, or faiol like Conversations?

How can I test Customer Chat Plugin (beta) in localhost?

I'm trying use Customer Chat Plugin in my website (is not a Wordpress), but to test if the plugins is working I need deploy it many times.
Any way to test in my local machine? using localhost address?
You can use ngrok. It will expose your website running in localhost to internet and will provide you https url that you can use to test the feature. Remember to add ngork provided url to whitelisted domain in your facebook page settings before you test it.
didn't test it, but you could setup hosts file to serve your page on fake domain mapped to your local ip

SSO waffle asking username and password

I am trying to run demo of waffle 'waffle filter demo' download from
http://repo1.maven.org/maven2/com/github/dblock/waffle/waffle-filter-demo/1.6/waffle-filter-demo-1.6.war
I am using tomcat as servlet container and deployed the war file.
When I try to access the server with URL http:// localhost:8080/waffle-filter-demo-1.6/ I am able to get authenticated through current windows login and my windows user is authenticated.
But when I access the same url using IP address http:// 192.168.2.63:8080/waffle-filter-demo-1.6/. Waffle is asking me to enter username and password.
Anyone came across this scenario before? How can I get authentication success by access using IP address?
I've solved this problem following https://community.jalios.com/jcms/jx_73408/en/windows-authentication-waffle-plugin-12?cid=jc_84212.
You have to configure the web browser in order for Windows authentication to be sent to remote HTTP server.
To configure Internet Explorer for automatic logon
Open the Internet Options dialog box by choosing Internet Options either from Control Panel or from the Tools menu in Internet Explorer.
In the Internet Options dialog box, on the Security tab, select Local intranet, and then click Custom Level.
In the Security Settings dialog box, under Logon, select Automatic logon only in Intranet zone, and then click OK.
In the Internet Options dialog box on the Security Settings tab with Local intranet still selected, click Sites.
In the Local intranet dialog box, click Advanced.
In the next dialog box (also titled Local intranet), type the URL of your JCMS web site (for example, https://intranet.mycompany.com) in the Add this Web site to the zone box, and then click Add.
In the Local intranet dialog, box click OK.
In the original Local intranet dialog box, click OK.
In the Internet Options dialog box, click OK.
Google Chrome
Google chrome is automatically configured to send the proper credential.
Firefox
The domain of the HTTP server must be added to the trusted domain for Negotiate authentication, using preference network.negotiate-auth.trusted-uris, either through about:config (in address bar) or in prefs.js (in user profil directory).
Read Mozilla.org - Integrated Authentication for more information.
Internet Options from the Internet explorer is applicable for all the browsers. And so If the "Logon From Intranet " option is disabled, it will ask the User name and the password accross all the browsers .
Solution :
Go to Internet Options -> Security -> Custom Level -> Scroll To END ("User authentication") -> Choose either "Automatic logon only in Intranet zone" OR "Automatic logon with current user name and password" .
Sometimes "Automatic logon only in Intranet zone" doesnt work for IP address of other machines within the same network because the browser assumes it as the open IP(Internet).In this case add the ip of the target machine on "Sites"->Advanced. eg : https://10.11.12.13 in the list It should work now !
"Automatic logon with current user name and password" Should solve this issue for any machine across the internet/intranet.

Ejabberd - Exauth authentication works but user showing Not Authoried to each other in pidgin

I installed Ejabberd server and configured ExAuth for a php script. I am checking the chat with pidgin chat client on ubuntu and windows xp(in virtualbox). I am able to login via ExAuth (where users listed in my mysql database) in both ubuntu and windows with different users.
However They are unable to chat each other as each other status is showing as Not Authorized.
Early I checked with internal auth_method. Where i added two users via web admin, and then login both at windows and linux machine. When i add buddy, then request goes to other user, After request approval by other user, Chat was worked. But in ExAuth Even after sending request, Other user did not receive any request.
If any body know where can be the problem area ?
I think you are confusing authentication (allowing to open an XMPP session on the server) and presence subscription as defined in the roster (you should still be able to chat presence subscription is Independant from messaging).

Use facebook login in localhost

I am doing a project and need to use the facebook API as user login.
The document are clear the usage of the login button of login with facebook.
However, when I test the button on localhost, it gives nothing to me, no error page, no popup windows.
I am using xampp for my local development and the site url that I fill in app setting is http://localhost:8880/atrain/
can someone help? I have searched the internet and change the hosts file but still unsuccessful.
Set up your local server to use the standard http port (80) and use a virtual host with a TLD. It can be a fake TLD such as:
localhost.dev
How you actually accomplish this depends on what type of web-server you are using.