-
muppeth
howdy. are there any clients currently supporting oauth? see there is a module for prosody https://modules.prosody.im/mod_auth_oauth_external.html but of course clients must support it as well.
-
Zash
muppeth: you mean SASL OAUTHBEARER ?
-
muppeth
yes.
-
muppeth
i see there is also just oauthbearer module but i guess the same applies.
-
MattJ
I'm not aware of any (public) ones. I have a test client I use to test the modules, but that's it so far. The XEP was only published a couple of days ago (XEP-0493), so you now have something to ask client devs for :)
-
muppeth
i see.
-
muppeth
so pretty much atm clients would have to default to legacy auth.
-
MattJ
I don't know if we'll ever push for OAuth to replace conventional logins in XMPP, although I strongly feel that web clients (especially server-side clients, such as Movim) or anything else that accesses your account outside of your own devices, should 100% use OAuth.
-
MattJ
I prefer SASL2+FAST for on-device native clients
-
muppeth
trying to implement keycloak and looks like it aint that smooth sailing. same as with email.
-
Kris
There are afaik some old out of tree patches for conversejs to enable oauth
-
MattJ
Yeah, that's a bit rough and also something (slightly) different
-
MattJ
That's why I had to write the XEP - "supporting OAuth" can mean too many different things
-
MattJ
Converse.js's support uses (IIRC) a non-standard SASL mechanism, and a third-party component, and it allows you to offer "Log in with [Github|Google|etc.]"
-
MattJ
Which is what some people want. The XEP is more for "I already have an XMPP account, now I want to grant something access to it"
-
MattJ
There is a lot of protocol overlap between the two use cases, Prosody should be able to support both, but the XEP is only for the second case
-
edhelas
I'm thinking of adding a third kind of MUC to https://docs.modernxmpp.org/client/groupchat/#types-of-chat Should be called "broadcast" 📢 where only the owners/admin can publish and the others are muted
-
edhelas
It is actually already existing on things like Telegram and Instagram afaik, nicoco should also be able to map it better for some bridges
-
edhelas
https://telegram.org/tour/channels
-
MattJ
edhelas, yeah, I'm building support for that into the MUC 2.0 draft I'm working on
-
edhelas
MattJ in the XEP or more as a ModernXMPP guideline ?
-
MattJ
It will be in the XEP, but it will be equivalent to the guidelines (which should still be documented)
-
edhelas
Do you have a draft of that ? Because basically in a client its mostly UI things
-
MattJ
https://pad.nixnet.services/WJm97HA9SJaURGhxNqGOcA
-
MattJ
There's nothing you need to worry about though, just continue as you are :)
-
edhelas
Some serious things going on in this document <3
-
MattJ
It's designed to be backwards-compatible with MUC, but much simpler for clients that choose to use it
-
MattJ
So instead of joining a room, configuring it with a bunch of options, you just send an iq to create a room with a certain profile, and you'll get the necessary defaults already set correctly
-
MattJ
You can still configure details if you want
-
edhelas
Ah fun it's a bit what I though about with the pubsub#type and Profiles in https://xmpp.org/extensions/xep-0472.html#profiles
-
MattJ
Yeah
-
edhelas
Still need to work on that Stories XEP that is "just" a Social Feed profile on top of the base one
-
pep.
How easy would it be to add a new type of room in there
-
pep.
I don't want clients to limit it to only these types and be stuck with that for the next 10 years
-
MattJ
pep., easy enough
-
arcanicanis
> I'm thinking of adding a third kind of MUC to https://docs.modernxmpp.org/client/groupchat/#types-of-chat > Should be called "broadcast" 📢 where only the owners/admin can publish and the others are muted I was intending on just having using PubSub feeds to act like 'Telegram Channels', in my experiment of a Telegram-imitation XMPP client (when I get back to it) ↺
-
MattJ
arcanicanis, that's kinda what Movim does
-
arcanicanis
although to group it together alongside conversations, rather than under a separate tab/section✎ -
arcanicanis
although to group it together alongside conversations, rather than be listed under a separate tab/section ✏
-
MattJ
Sure, that's just a UI thing
-
MattJ
edhelas, which begs the question, why are you looking at this, when you already have pubsub feeds?
-
MattJ
It seems like it might be confusing to have both in one app
-
arcanicanis
It'd be neat if PubSub was available in more of the instant messaging-focused clients, as insofar I think Movim may be the only one?
-
edhelas
Because it's not the same usage
-
edhelas
And some apps like Instagram have both, you have feeds which are articles, and you have rooms that are short messages
-
edhelas
Also because there's only a few apps that are supporting Pubsub feeds people might want to use this solution to broadcast information.
-
edhelas
Also thinking about bridges like Slidge.
-
MattJ
A MUC<->Pubsub bridge would be interesting for that
-
edhelas
To me its like putting a square in a circle
-
edhelas
It's like trying to publish RSS/Atom feeds to MUC, its works, but really not made for that
-
arcanicanis
I still have to dig deeper into aspects with PubSub, but has there been any well-developed/maintained ActivityPub to XMPP PubSub bridges?
-
MattJ
goffi was working on one as part of libervia (it was funded by NLnet)
-
edhelas
MattJ is it released ? I've heard about the project but never had the chance to actually see working and packaged versions afaik
-
arcanicanis
> It's like trying to publish RSS/Atom feeds to MUC, its works, but really not made for that I think it just comes down to how it's actually operationally used. But using MUCs for short announcements to +10k users also feels like misusing something ↺
-
MattJ
I think polish was still being applied, last I heard
-
edhelas
> I think it just comes down to how it's actually operationally used. But using MUCs for short announcements to +10k users also feels like misusing something If you want to publish your blog articles, you use Pubsub If you want to send quick alerts each 20min about possible stock market changes, maybe MUC is wiser ↺
-
MattJ
I'm interested in concrete reasons why, though
-
edhelas
It's not only about the protocol, its the fact that we have UIs already built on top of it
-
MattJ
Sure, compatibility with existing clients, I get that
-
arcanicanis
My current fixation is working on portable identity in ActivityPub, as well as toying with DIDs for portable identifiers, as I'm working in my ActivityPub server implementation. If there's a gap in bridging to/from ActivityPub, I'm very willing to fill the gap wherever needed. I can also bring up new FEPs for extensions that could make bridging easier, if there's any gaps identified.
-
edhelas
In a perfect world we would have directly start with Pubsub in the early stages of XMPP and build MUC on top of it, but its not the case
-
arcanicanis
My fixation on the argument is more the protocol level: to my vague understanding of PubSub, the server keeps record of all contacts interested in a feed, and pushes out a message on update; versus with a MUC, where each user has to maintain a connected state to a MUC, and the MUC has to handle all the background noise of connection state messages✎ -
arcanicanis
My fixation on the argument is more the protocol level: to my vague understanding of PubSub, the server keeps record of all contacts interested in a feed, and pushes out a message when something new is published; versus with a MUC, where each user has to maintain a connected state to a MUC, and the MUC has to handle all the background noise of connection state messages ✏
-
Link Mauve
arcanicanis, I’ve been using libervia’s AP gateway for more than one year at this point, it mostly works.
-
arcanicanis
ahh, 'formerly Salut a Toi', that's where that project went
-
Link Mauve
I find its usage of Python and the myriad of dependencies a bit bad to work with though.
-
arcanicanis
The Python ecosystem just typically feels like a mess for that
-
Link Mauve
Yeah.
-
Kris
MattJ, no more MUX? Now GC3 (for group chat 3 I guess?)
-
MattJ
Kris, yeah, slightly less confusing (and the 'mux' namespace was already taken by some Jingle stuff)
-
arcanicanis
Can colons appear in the localpart as long as they're escaped, or are they totally prohibited? https://www.rfc-editor.org/rfc/rfc7622.html#section-3.3.1 an example of what would be encoded as a username would be like: did:fedi:z8LrnLyDceDz9oKN6iPBCtUupd The context being of having some DID-aware ActivityPub bridge, when the time comes
-
Kris
does it have to be 3 letters? otherwise why not just MUC2?
-
pep.
MUC-X, MUC-NEXT, NMUX, NUX, XUC
-
arcanicanis
Out of curiosity, what come of MIX?✎ -
arcanicanis
Out of curiosity, where did MIX end up? ✏
-
arcanicanis
The edit history seems to be from 2015-2020, not sure if that was just some experiment of replacing MUCs for something different/better
-
MattJ
arcanicanis, MIX has some implementations but (IMHO) not a promising future for the open network
-
MattJ
If it has, GC3 might be a step in the right direction (since it makes MUC a little more MIX-like, with regards to the data model)
-
MattJ
Kris, it doesn't have to be three letters. However "MUC 2" has been a concept for over a decade, and may have some baggage attached. It's also less of a clean break - I feel that people will still see it as MUC1 < MUC2 < MIX
-
MattJ
I'd like it to have at least as much of a chance as MIX did, rather than being perceived as something that is obsoleted by MIX before it even leaves the gate
-
MattJ
Hoping we might make some progress on it at the sprint this weekend
đź‘Ť 1