Home

Working to Decentralize FedCM

$$9996
https://lemmy.world/u/erlend_sh posted on Mar 10, 2026 10:08
https://lemmy.world/post/44070837
Reply
$$10008
https://slrpnk.net/u/poVoq posted on Mar 10, 2026 10:31
In reply to: https://lemmy.world/post/44070837

Sounds good, but this FedCM seems to be basically a reinvention of Oauth2/OIDC. Even if it brings some minor improvements (credentials storage in the browser or so?), it seems dead on arrival given that there doesn’t seem to be a strong dissatisfaction with how OIDC works. Or am I missing something?

https://slrpnk.net/comment/21164646
Reply
$$10048
https://lemmy.world/u/erlend_sh posted on Mar 10, 2026 11:55
In reply to: https://slrpnk.net/comment/21164646

What you’re missing is that OIDC is innately centralized and FedCM, in particular thanks to this work, isn’t.

This is all building on or complementing the same underlying OAuth standards, like the CIMD spec that Emelia originally intended for adoption into Mastodon/ActivityPub to set the stage for decentralized OAuth, but it was never brought in. The AT protocol on the other hand adopted it into their decentralized oauth-atproto standard, which is on track to become a protocol-agnostic oauth-dweb standard.

Anyone who cares about decentralized software should be dissatisfied with how OIDC works. If you wanna use your primary fediverse account to log into other fedi apps, this work is for you.

https://lemmy.world/comment/22578974
Reply
$$10056
https://slrpnk.net/u/poVoq posted on Mar 10, 2026 12:12
In reply to: https://lemmy.world/comment/22578974

OIDC isn’t “innately centralized”, thats just how the majority of people use it. And the same will be likely true for FedCM.

https://slrpnk.net/comment/21165892
Reply
$$10163
https://lemmy.ca/u/psycotica0 posted on Mar 10, 2026 15:59
In reply to: https://lemmy.world/comment/22578974

OIDC is innately centralized

Huh, that’s not my understanding. I was there when it first came out, and the whole point was to allow you to use any URI of your choice as an authenticator. Let’s see what the first line of Wikipedia has to say:

OpenID is an open standard and decentralized authentication protocol

Huh. 🤔

https://lemmy.ca/comment/22132401
Reply
$$10186
https://lemmy.world/u/erlend_sh posted on Mar 10, 2026 16:50
In reply to: https://lemmy.ca/comment/22132401

See what CIMD solves for. “Innately centralized” was probably a poor choice of words, but OIDC not a good fit for an open social web with decentralized identities and a plethora of small identity providers that cannot be known upfront.

https://lemmy.world/comment/22584001
Reply
$$10268
https://slrpnk.net/u/poVoq posted on Mar 10, 2026 20:54
In reply to: https://lemmy.ca/comment/22132401

You might be confusing the old OpenID with OIDC (short for Open ID Connect), which is based on Oauth2, an entirely different technology.

OpenID was definitely more decentralized compared to how OIDC is commonly used these days, but OIDC has various little know options to do similar things.

https://slrpnk.net/comment/21174693
Reply
$$10311
https://programming.dev/u/moonpiedumplings posted on Mar 10, 2026 22:39
In reply to: https://lemmy.world/comment/22584001

Forgejo has a feature (that people usually disable) where you can bring your own openid connect url and use it to auth. So if I have my own OIDC provider I am self hosting, I can just use that to log in.

Most people only use it for google and microsoft and whatnot but it’s very possible. I don’t realkly see what FedCM offers that OIDC doesn’t or can’t, or why we shouldn’t be adding features to the existing and popular OIDC instead.

https://programming.dev/comment/22645215
Reply
$$10521
https://lemmy.world/u/erlend_sh posted on Mar 11, 2026 16:17
In reply to: https://programming.dev/comment/22645215

This requires manually enabling every additional provider. This doesn’t work if some individuals or smaller collectives wanna run their own identity providers, numbering in the thousands.

https://lemmy.world/comment/22603675
Reply
$$10545
https://programming.dev/u/moonpiedumplings posted on Mar 11, 2026 17:07
In reply to: https://lemmy.world/comment/22603675

This requires manually enabling every additional provider.

No, it doesn’t. The docs are confusing on this, but forgejo has two methods to enable oauth/oidc. One is to manually enable them, but there is a second, where people bring their own oauth link.

The docs contain 3 things related to oauth:

  • Oauth provider forgejo acts as oauth for someone else
  • Ouath client — This is the one where you manually enable providers
  • But then there is a third config. Openid. This lets users bring their own openid/oauth link and sign in with that. No manual configuration required on the side of the forgejo server per client.
https://programming.dev/comment/22660524
Reply