Comments (5)
I am not sure what do you mean by your description, but obviously you won't be able to log in into your server with gmail account, that is not what s2s is for. s2s enables users of other services (like gmail) to access your service, from their own accounts (for example they log into gmail server and then can talk with your users).
s2s in XMPP cannot work via BOSH. This means that if you want gmail users to be able to access your service, you must setup normal s2s configuration. This includes enabling s2s connections on port 5269 on your ejabberd server and setting up proper DNS records that will allow Google servers to find your XMPP server.
Please also note that gmail is not a full XMPP server, some packets are filtered and this can cause some services not to work for gmail users, even with proper s2s setup. I suggest you make initial tests first with other service, that provides full XMPP server and only then test with gmail.
from ejabberd.
ohh, sorry for wrong use "s2s" word.
i just want to build a web chat service that can login with other
accounts, origin s2s i have already setup and works well, they can already
login by a native client(eg.pidgin) to their server and chat to my user.
but they can't login via web. google or other service may not provide a
bosh. so is there any method to connect google's server via my bosh?
from ejabberd.
I really still do not understand what are you trying to do. Please describe your use case precisely, because currently your description is so vague that I cannot help.
If you want to create a BOSH gateway, then ejabberd is not the project you want. There are other projects that allow setting up a gateway that translates BOSH requests into native XMPP packets (for example node-xmpp-bosh).
Please also note that this system is supposed to be used to report bugs in ejabberd. If you are looking for general help then this is not the right place, you'd be better with ejabberd user forums.
from ejabberd.
ejabberd's BOSH service does not support login to third party xmpp services. You'd have to use sth like node-xmpp-bosh for this.
.Steve
On 22.03.2013, at 03:24, zh99998 [email protected] wrote:
ohh, sorry for wrong use "s2s" word.
i just want to build a web chat service that can login with other
accounts, origin s2s i have already setup and works well, they can already
login by a native client(eg.pidgin) to their server and chat to my user.
but they can't login via web. google or other service may not provide a
bosh. so is there any method to connect google's server via my bosh?
—
Reply to this email directly or view it on GitHub.
from ejabberd.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ejabberd.
Related Issues (20)
- Crash on start of ejabberdctl HOT 2
- [BUG] mod_http_api /api/srg_get_info - bad request 400 HOT 3
- Webadmin console empty for vhost HOT 4
- Problems with matrix gateway HOT 2
- webadmin - crash when navigating to /admin/server/domain.tld/shared-roster/ HOT 5
- Newly registered users don't receive welcome message HOT 11
- Ejabberd Access to WebAdmin page vhosts/ for account HOT 5
- create_room_with_opts doen't work anymore as per documentation HOT 2
- WebAdmin is empty in ejabberd 24.06
- Issue Report: Dialyzer Warnings and Common Test Failures HOT 1
- Support spam/abuse report forwarding HOT 1
- mod_mam HOT 2
- Ejabberd service is responding slow HOT 2
- 24.06 rebar3 compatibility HOT 6
- APNS push notification with p2 Proxy HOT 1
- Error: Apparently your account has no administration rights in this server. Please check how to grant admin rights: HOT 5
- Wrong path in start scripts of binary installer invoked by regular user HOT 1
- Error with mod_muc_rtbl when restarting server HOT 1
- mod_push SQL query optimization for PostgreSQL
- [QUESTION] muc_room not getting saved in mysql via API create_room_with_opts HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ejabberd.