Post AAom6pZvOWZeX8CIc4 by mattj@mastodon.technology
(DIR) More posts by mattj@mastodon.technology
(DIR) Post #AAom6mbwQZP9KW7Mq8 by celia@fosstodon.org
2021-08-29T08:34:54Z
0 likes, 0 repeats
Thinking about adding #conversejs to my site and having it allow anonymous logins for people to chat with me.Is this doable? Does my server need to do something special for allowing anonymous logins with nicknames?#xmpp #help
(DIR) Post #AAom6n6QbDn6r4NiMK by gabor@fosstodon.org
2021-08-29T09:07:55Z
0 likes, 0 repeats
@celia @nebunez hm well jitsi solves this somehow too, right? I mean it uses Prosody as a backend... and user logins are anonymous there. Maybe have a look at the prosody config of jitsi-meet, that's where I would start...
(DIR) Post #AAom6nZqppKKKK9DDk by celia@fosstodon.org
2021-08-29T09:22:17Z
0 likes, 0 repeats
@gabor That sounds really complex.I'm on a server that is running Snikket (https://snikket.org/)@nebunez
(DIR) Post #AAom6o5OwWZ1uAuPOi by mattj@mastodon.technology
2021-08-29T09:42:07Z
0 likes, 0 repeats
@celia Snikket isn't really designed with anonymous access in mind.I'll have a think about the easiest way to approach this... 🙂 (a separate web-only Prosody may be the easiest answer, for example)@gabor @nebunez
(DIR) Post #AAom6oaF5rEZRpL2TA by gabor@fosstodon.org
2021-08-29T10:01:23Z
0 likes, 0 repeats
@mattj @celia @nebunezSure, one could look here in the community modules I'm sure someone has built something like this before. https://modules.prosody.im/But then u have to figure out something for spam protection as well...
(DIR) Post #AAom6p4NHpKwxHR6R6 by jr@social.anoxinon.de
2021-08-29T10:06:12Z
0 likes, 0 repeats
@gabor @mattj @celia @nebunez XMPP as protocol has this anonymous login feature already and I'm quite sure Prosody implements it already... the bigger problem is, as you say, you have to strictly limit thos anonymous accounts to prevent spam.
(DIR) Post #AAom6pOa4hV3xwtEvo by celia@fosstodon.org
2021-08-29T08:35:33Z
0 likes, 0 repeats
This would be a great way to get people to experience XMPP.
(DIR) Post #AAom6pZvOWZeX8CIc4 by mattj@mastodon.technology
2021-08-29T10:56:30Z
0 likes, 0 repeats
@jrThe Prosody config itself is easy:VirtualHost "guest.example.com" authentication = "anonymous" modules_enabled = { "bosh", "websocket", "conversejs" }Prosody will automatically block federation for anonymous users to prevent anyone using your server as a spam relay.More docs: https://prosody.im/doc/anonymous_loginshttps://modules.prosody.im/mod_conversejsThe tricky part as always is dealing with stuff outside Prosody - certs, reverse proxies, etc.https://prosody.im/doc/setting_up_bosh@gabor @celia @nebunez
(DIR) Post #AAom6q5pTu5w857mLI by jcbrand@mastodon.xyz
2021-08-29T12:58:19Z
0 likes, 0 repeats
@mattj @jr @gabor @celia @nebunez There's a demo of an embedded anonymous chat in the https://conversejs.org website.Here's the code for that page:https://github.com/conversejs/converse.js/blob/master/demo/embedded.html
(DIR) Post #AAopIRuRWMuWSk1gbA by gabor@fosstodon.org
2021-08-29T13:34:05Z
0 likes, 0 repeats
@jcbrand @mattj @jr @celia @nebunez but how is this anonymous? As far as I can tell you need to have an account on an xmpp server or sign up for one... if I understood @celia correctly the goal was for people to just enter a nickname and start chatting with her directly (correct me if I'm wrong...)
(DIR) Post #AAoz5Y6y9LxZTVNArg by celia@fosstodon.org
2021-08-29T14:10:51Z
0 likes, 0 repeats
@gabor @jcbrand @mattj @jr @nebunez (This is correct) :)
(DIR) Post #AAoz5Yf06pBLB3ILuS by gabor@fosstodon.org
2021-08-29T15:08:22Z
0 likes, 0 repeats
@celia LOL I bet you didn't expect to start such an avalanche 😃@jcbrand @mattj @jr @nebunez
(DIR) Post #AAoz5ZBy8FYMpIigIS by jcbrand@mastodon.xyz
2021-08-29T15:23:47Z
0 likes, 0 repeats
@gabor @celia @mattj @jr @nebunez Sorry, I gave the wrong link!Here: https://conversejs.org/demo/embedded.html
(DIR) Post #AAp14Rsa2E7XlVFHMG by gabor@fosstodon.org
2021-08-29T15:46:00Z
0 likes, 0 repeats
@jcbrandOh wow yeah that's more like it. I suppose it can be tweaked so that the conference room is persistent and then the admin can subscribe to it in Conversations or another app...? @celia @mattj @jr @nebunez
(DIR) Post #AAp1AZcQAmz5VQbjvc by gabor@fosstodon.org
2021-08-29T15:47:07Z
0 likes, 0 repeats
@jcbrandOh wow yeah that's more like it. I suppose it can be tweaked so that the conference room is persistent and then the admin can subscribe to it in Conversations or another app...? Or @celia did u mean like one-on-one chats? @mattj @jr @nebunez
(DIR) Post #AAqNJjf2b7jDPJZD4S by jcbrand@mastodon.xyz
2021-08-30T07:29:58Z
0 likes, 0 repeats
@gabor @celia @mattj @jr @nebunez Yeah, I think that's all doable. Anonymous accounts by default cannot (and shouldn't) federate with other servers, but I think you can make the MUC available to accounts from other servers.