-
icebound.dev
> > I strongly believe in a different account for every service, with a different randomised password + TOTP, one service being pwned therefore can't harm another. > > I believe in an amount of work that the couple people at the hackerspace can actually do, preferrably without getting burnt out. How big is said hackerspace, like how many accounts we speaking? ↺
-
icebound.dev
I never imagined hackerspaces being big enough which they would need centralised authentication
-
icebound.dev
In any case, I dont see why this needs to be enforced so rigidly. Does it hurt for XMPP to be hosted without integration?
-
icebound.dev
XMPP can also be used without needing to be hosted by the hackerspace anyways, and people use their own personal accounts, although not ideal, it still means you can use XMPP within the hackerspace.
-
moparisthebest
be like elsa, let it go
❤️ 1 -
Link Mauve
icebound.dev, the whole point of being a hackerspace is that you can do fun things in ways that don’t strictly make sense based on the time vs. reward scale.
❤ 1 -
erebion
> icebound.dev, the whole point of being a hackerspace is that you can do fun things in ways that don’t strictly make sense based on the time vs. reward scale. Yes. We also save time and effort which can be put into nicer things. Hosting stuff is okay, we just don't need another fulltime job. :)
👍 1 -
icebound.dev
> be like elsa, let it go xD ↺
-
icebound.dev
> > icebound.dev, the whole point of being a hackerspace is that you can do fun things in ways that don’t strictly make sense based on the time vs. reward scale. > > Yes. We also save time and effort which can be put into nicer things. Hosting stuff is okay, we just don't need another fulltime job. :) /me shrugs ↺
-
icebound.dev
you say you dont want a full time job, but what you want seems to be a lot of hard work for little reward
-
icebound.dev
in any case I will drop the discussion, unproductive on my part.
-
erebion
How would you even know what is little reward for us?!
-
erebion
You don't even know what we do. how our setup looks like, who needs access to what, various other things...
-
erebion
It's like me saying "Your sofa is uncomfortable" without ever having seen one or knowing whether you have one or just use an armchair or whatever
-
icebound.dev
erebion, seems like you just want to fight at this point. My point was simply it seems like a lot of work. If it is worth it then go ahead, I am sure theres others here who might be interested in a OIDC integration, and I think singpolyma already has showed an interest in it (so at the very least cheogram would support such a thing).
-
icebound.dev
but my earlier point was simply, saying "the hackerspace can't use XMPP unless it supports OIDC" seems excessive. It can, it might not fit in as well, but it can. Also theres no requirement for the hackerspace to host XMPP itself either. These are all blockades put in place by you/the hackerspace to make it a very binary thing of "no OIDC, no XMPP". I was simply thinking about the problem from a broader point of view.
-
erebion
Oh please stop it. We know why we want to run our setup in a certain way, we know our setup best.
-
icebound.dev
Then I wish you luck with the integration of OIDC into both the server and client side.
-
stratself
i was confused that ere.bion and pola.rian are the same person for a moment there
-
stratself
but there's no client at all that supports oidc right?
-
stratself
and does this warrant a XEP?
-
icebound.dev
> i was confused that ere.bion and pola.rian are the same person for a moment there two very different people :p ↺
-
icebound.dev
> but there's no client at all that supports oidc right? I think singpolyma was onto something about this, but afaik, no there isn't. Which is why I said it would be a lot of hard work. ↺
-
icebound.dev
> and does this warrant a XEP? this would likely be the best way to do it. ↺
-
singpolyma
we have the XEPs needed already 🙂 and the server implementation. but yes, I'm not aware of any general purpose client
-
icebound.dev
singpolyma, which XEPs out of curiosity?
-
icebound.dev
also maybe best to bring this into XSF discussions if this requires discussion on client implementation and XEPs?
-
singpolyma
I mean it's just SASL so I guess it's in the RFC. Unless you use SASL2
-
icebound.dev
singpolyma, I dont see how SASL plays a part here
-
singpolyma
For OIDC?
-
icebound.dev
yes
-
singpolyma
SASL is how you do all auth. If you use OIDC for auth you'll be doing it over SASL 🙂
-
singpolyma
and that's what the existing implementations do
-
icebound.dev
From my knowledge the flow would be: client --> server (asks to use OIDC) server --> OIDC provider (selected by the user) OIDC provider <-- client <-- server (client is redirected to the provider to authenticate) OIDC provider --> server (OIDC provider sends a token to the server when the user is successfully authenticated) IIRC this same token is then sent to the client too, which is used to authenticate.
-
icebound.dev
singpolyma, sure...
-
icebound.dev
but you would still need to implement the third party auth
-
icebound.dev
both the server and client would need to understand there is a third party in the process
-
icebound.dev
I believe there is already a prosody module for this, so this would just require a client side implementation to be usable?
-
icebound.dev
"just"
-
icebound.dev
I havent played with OIDC much, but I believe its pretty much the same as oauth2?
-
moparisthebest
> in any case I will drop the discussion, unproductive on my part. that was a lie ↺
-
singpolyma
correct. Right now there is no general purpose client that supports this SASL mechanism. But it is not for lack of specs just lack of code
-
icebound.dev
> correct. Right now there is no general purpose client that supports this SASL mechanism. But it is not for lack of specs just lack of code hmm, well maybe you could write a POC :p ↺
-
icebound.dev
seems like you are interested.
-
singpolyma
and I think there's a hacky fallback where you can paste the token into PLAIN to test, but yeah
-
icebound.dev
I guess due to the similarities OIDC could also allow later to authenticate using oauth2 providers too if the logic is implemented for it.
-
icebound.dev
I dont see why an XMPP server would want to, but it could be feasible then to auth with github, or dare I say it, Discord :p
-
stratself
theyre the same thing i believe
-
icebound.dev
> theyre the same thing i believe thats what I believe too, but I dont know for sure, so I didn't want to say it :p ↺
-
icebound.dev
> An OpenID Provider (OP) is an entity that has implemented the OpenID Connect and OAuth 2.0 protocols
-
icebound.dev
ah nvm
-
singpolyma
OIDC is oauth2 yes, they're the same protocol really
-
icebound.dev
they arent, but OIDC uses oauth2
-
stratself
oidc is an identity layer on top of oauth
-
icebound.dev
yeah
-
icebound.dev
makes sense now
-
singpolyma
well OIDC has some extra things but any oauth2 login will also work for OIDC, just if you require OIDC things then oauth2 might not work
-
icebound.dev
> I dont see why an XMPP server would want to, but it could be feasible then to auth with github, or dare I say it, Discord :p so if oauth2 is required, then again, said functionality would also allow for this ^^^ ↺
-
singpolyma
yes
-
stratself
yes.
-
icebound.dev
actually...
-
icebound.dev
that might be useful for onboarding
-
singpolyma
if you wanted to run an xmpp server where people login with github, we can do that today. "just" need an app that allows it, heh
-
stratself
idc if people login with Codeberg or whatever tbh
-
icebound.dev
people being able to simply authenticate with Discord, it might actually get people to try out XMPP
-
stratself
matrix being built on web has made this infinitely easier. Big servers do allow authing against google/github/gitlab whatever. So it's not anything flameful lol
-
icebound.dev
I am still waiting on MFA :p
-
icebound.dev
theres been a lot of progress on it actually, and iirc the server implementations are done
-
icebound.dev
again just needs client side implementation
-
stratself
and how does MFA works exactly
-
stratself
does it send everything through SASL?
-
icebound.dev
singpolyma, to be honest, wouldn't this be pretty easy to do on android? You would need to add an option to use oauth2/OIDC which is discovered from the server, and then android can just use the webview to render the login endpoint.
-
icebound.dev
"just"
-
icebound.dev
on desktop this is more difficult...
-
icebound.dev
you cant assume there is a web browser present on Linux
-
stratself
> you cant assume there is a web browser present on Linux you... do ↺
-
icebound.dev
then again xdg-open can be used to open the default web browser so I guess its not too difficult either
-
icebound.dev
> you... do nope, some Linux installs dont have web browsers ↺
-
icebound.dev
although it would be nice to be able to pick the web browser used on desktop
-
stratself
or just provide a link and have the user click on it, like some cli clients
-
icebound.dev
true
-
icebound.dev
that works too
-
stratself
> or just provide a link and have the user click on it, like some cli clients link + qr or however you may please ↺
-
icebound.dev
yeah true
-
stratself
access tokens would be nice for xmpp auth too
-
icebound.dev
so erebion, twist singpoylma's arm into implemented it and it could be quite fast to get up and running
-
moparisthebest
>> you... do > nope, some Linux installs dont have web browsers and some android installs don't either... this is an odd rabbit hole ↺
-
stratself
> access tokens would be nice for xmpp auth too with granular permissions i mean, but idk if thats possible in xmpp-land just now ↺
-
icebound.dev
singpolyma gets really bored, always looking for something new to code /j
-
icebound.dev
> and some android installs don't either... this is an odd rabbit hole seriously? ↺
-
icebound.dev
I thought a webview was mandatory on android
-
icebound.dev
> with granular permissions i mean, but idk if thats possible in xmpp-land just now well SASL makes any of this possible, as singpolyma pointed out ↺
-
stratself
>> with granular permissions i mean, but idk if thats possible in xmpp-land just now > well SASL makes any of this possible, as singpolyma pointed out so i could authenticate as a client that can only send messages and not photos? ↺
-
stratself
not upload photos*
-
icebound.dev
if the server provided such permissions then yeah I dont see why not
-
stratself
so server has to keep track of resource ID against the token's privileges i think
-
icebound.dev
the joys of code, you can do almost anything provided you write it :p
-
stratself
i know, i'm just asking if it's theoretically possible in the first place
-
icebound.dev
stratself, well more it would be better to have a http upload "group" which the admin can add users to
-
icebound.dev
or remove users from
-
icebound.dev
whether you want it default or not
-
moparisthebest
XMPP already has that of course, there is FAST but also nothing prevented multiple passwords per account before
👍 1 -
icebound.dev
but yeah I dont see why it couldnt be implemented.
-
stratself
> stratself, well more it would be better to have a http upload "group" which the admin can add users to yeah we'll get RBAC soon™ anyways ↺
-
icebound.dev
anyways I really got to go and fix this iphone ive wasted 2 hours so far
-
stratself
glhf polarian
-
icebound.dev
its not fun, fuck apple :p