Project

General

Profile

About GTalk/Facebook Transport Supported In Tigase

Robin Lee
Added over 5 years ago

Hi all,

I am new to XMPP & Tigase.

Now I would like to deploy a private XMPP server to let users can login their own "Gmail/Facebook accounts" to my server directly.

My use case:

  1. Launch a XMPP server with a specific domain (called: my.gtalk.net) properly
  • Some necessary plugins/external-servers should be deployed properly as well
  1. User has had his own gmail account (called: username@gmail.com) already

  2. User can login to my.gtalk.net with username@gmail.com directly

  3. After login successfully, user can see his buddy list properly

  4. User can send/receive text messages with other gmail account properly

I've studied some related posts in this forum but all tries fail:

Link1: http://www.tigase.org/content/yahoo-and-other-gateways

Link2: https://projects.tigase.org/boards/4/topics/279

Currently, in my understanding, I should have a XMPP Server (Tigase) with XMPP Transport supported (Spectrum2)

However, even I followed all instructions (in link2) & make Tigase connected by Spectrum2, I still cannot login my.gtalk.net with my own gmail account.

Can anyone help to figure out what's wrong to my steps (or my understanding)?

Thanks.


Replies (6)

Added by Wojciech Kapcia TigaseTeam over 5 years ago

in your setup you still have to create a user account in Tigase XMPP Server and then login to that account, subsequently from that account you register to the XMPP Transport with your gmail account details. However all your contacts will be suffixed with transport addres, i.e. JID will look like something along the lines of (depending on the transport configuration) user%gmail.com@transport.my.gtalk.net

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

Robin Lee, are you asking about authenticating your users with their FB or Google accounts or having access to FB and Google through gateways. Because these are 2 different things. Please provide more details.

Wojciech explanation covers use case when you want to have gateways.

Added by Robin Lee over 5 years ago

Wojciech Kapcia wrote:

in your setup you still have to create a user account in Tigase XMPP Server and then login to that account, subsequently from that account you register to the XMPP Transport with your gmail account details. However all your contacts will be suffixed with transport addres, i.e. JID will look like something along the lines of (depending on the transport configuration) user%gmail.com@transport.my.gtalk.net

Hi Wojciech,

Thanks for your explanation. I will try it soon.

Added by Robin Lee over 5 years ago

Artur Hefczyc wrote:

Robin Lee, are you asking about authenticating your users with their FB or Google accounts or having access to FB and Google through gateways. Because these are 2 different things. Please provide more details.

Wojciech explanation covers use case when you want to have gateways.

Hi Artur,

Sorry for my unclear explanation. My goal is "authenticate yours with their FB/Google accounts".

So I hope that my users can login my server (my.gtalk.net) with their own FB/Google accounts (ex: username@gmail.com), not the accounts in my server (username@my.gtalk.net)

I will really appreciate if you can figure out what's wrong with my setup, thanks.

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 5 years ago

Thank you for clarification. You do not do anything wrong. Authentication against external services is not supported at all right now. We are considering OAuth implementation but this is a significant work to do, therefore it is still waiting in a queue.

Added by Robin Lee over 5 years ago

Thanks Artur & Wojciech.

I followed Wojciech's instructions & successfully fetch contact list from my gmail account.

I can chat with my friend as well.

Thanks for help again.

    (1-6/6)