FR: OpenID RISC (Risc Incident Sharing and Coordination) support #2540

Open
opened 2026-11-16 04:14:05 +00:00 by Henry-Hiles · 1 comment
Member

What new feature do you want to see? What problem does it solve?

I would like to see RISC support for deactivating users from the IDP. You'd probably also want to add lock/unlock.

Further reading

https://openid.net/specs/openid-risc-event-types-1_0-ID1.html

Additional context

I could open a PR for this, but busy rn so probably sometime early next year.

### What new feature do you want to see? What problem does it solve? I would like to see RISC support for deactivating users from the IDP. You'd probably also want to add lock/unlock. ### Further reading https://openid.net/specs/openid-risc-event-types-1_0-ID1.html ### Additional context I could open a PR for this, but busy rn so probably sometime early next year.
Member

Counterpoint: I don't think RISC is implementable/supportable for a few reasons:

  • It's only defined as one kind of "Security Event Token"...
  • ...to be shared across a Shared Signals Framework (SSF) event stream
  • By implementing SSF, c10y would be, as @Aranjedeath put it, "more enterprise than Synapse", and even though support for it exists among a decent set of IdP/OP tooling (both commercial and FOSS), I don't think implementation and integration is a reasonable ask for Continuwuity; i.e., the maintainers have plenty else to focus on upkeep for as it is, let them focus on Matrix spec stuff rather than (relatively) niche IAM stuff.

OIDC backchannel logout, though, is well-spec'd and enjoys much stronger support among IdPs/OPs, including both "enterprise" and FOSS ones. I think that would be a good first step for addressing the use case of at least invalidating user sessions upon request from the auth provider in Continuwuity. Heck, there's even a recent open PR to implement support for it in the OIDC library that Continuwuity uses.

Now, for properly signaling a need to deactivate users, SCIM has been around for a while and enjoys even stronger support from the auth provider side (plus, it would come with the extra bonus of allowing auth providers to pre-provision users, rather than the current "just-in-time"-only provisioning currently supported), but that's a bit more complex than backchannel logout alone for sure. In addition, if the number of vendors I've dealt with that diverge significantly from RFCs are any indication, it's apparently not easy to implement directly as specced 😔
This is the only Rust library I've seen for SCIM that doesn't seem unmaintained or obviously vibe-coded. I did come across this talk about this other tool that takes another approach to implementation; not sure how useful it might be, though.

Counterpoint: I don't think RISC is implementable/supportable for a few reasons: - It's only defined as one kind of "Security Event Token"... - ...to be shared across a [Shared Signals Framework (SSF)](https://sharedsignals.guide/) event stream - By implementing SSF, c10y would be, as @Aranjedeath [put it](matrix:roomid/c10y-8Hm3mAW99j9KEKoWPQH2M_FxGwG-EVHK06iLKg/e/Umq_bAt3Ywsr87RuCWskhfkYFrvkKlXI73_QNIluEs0?via=julian45.net&via=continuwuity.org&via=matrix.org), "more enterprise than Synapse", and even though support for it exists among a decent set of IdP/OP tooling (both commercial and FOSS), I don't think implementation and integration is a reasonable ask for Continuwuity; i.e., the maintainers have plenty else to focus on upkeep for as it is, let them focus on Matrix spec stuff rather than (relatively) niche IAM stuff. [OIDC backchannel logout](https://openid.net/specs/openid-connect-backchannel-1_0.html), though, is well-spec'd and enjoys *much* stronger support among IdPs/OPs, including both "enterprise" and FOSS ones. I think that would be a good first step for addressing the use case of *at least invalidating user sessions upon request from the auth provider* in Continuwuity. Heck, there's even a [recent open PR](https://github.com/ramosbugs/openidconnect-rs/pull/255) to implement support for it in the OIDC library that Continuwuity uses. Now, for properly signaling a need to deactivate users, SCIM has been around for a while and enjoys *even stronger* support from the auth provider side (plus, it would come with the extra bonus of allowing auth providers to pre-provision users, rather than the current "just-in-time"-only provisioning currently supported), but that's a bit more complex than backchannel logout alone for sure. In addition, if the number of vendors I've dealt with that diverge significantly from RFCs are any indication, it's apparently not easy to implement directly as specced 😔 [This](https://github.com/platformed-com/cream) is the only Rust library I've seen for SCIM that doesn't seem unmaintained or obviously vibe-coded. I did come across [this talk](https://www.youtube.com/watch?v=vP55DiSdIDQ) about [this other tool](https://github.com/helsinki-systems/scimd) that takes another approach to implementation; not sure how useful it might be, though.
stratself changed title from FR: RISC support to FR: OpenID RISC (Risc Incident Sharing and Coordination) support 2026-11-16 06:53:26 +00:00
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
continuwuation/continuwuity#2540
No description provided.