Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate signed software_statements in client registration #1943

Open
matrixbot opened this issue Sep 10, 2024 · 0 comments
Open

Validate signed software_statements in client registration #1943

matrixbot opened this issue Sep 10, 2024 · 0 comments
Labels
A-Client-Registration Related to OIDC Dynamic Client Registration S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Enhancement New feature of request

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @sandhose at matrix-org/matrix-authentication-service#1943.

This should allow us to deduplicate client registrations, and therefore consider multiple instances of the same client to be the same client as they present the same software_statement.

The software statement should self-contain informations on how it should be verified. This should be done through the same proof-of-possession semantics defined in RFC7800, meaning that the JWT header should include a cnf field containing the JWK or a JWKS URI.

My plan is to:

  • deliver the same client_id for the same client at the same version
  • deliver different client_ids for the same client at different version, but group them in terms of user consent/UI. We would display the consent screen again only if something significant changed in the client metadata (like any of the tos_uri/privacy_uri/client_uri changed)

MAS should consider that the client is the same (but not necessarily the same version) if (header.cnf, payload.software_id) is the same.
It should consider it is the same version (therefore the same client_id) if (header.cnf, payload.software_id, payload.software_version) is the same.

@matrixbot matrixbot added A-Client-Registration Related to OIDC Dynamic Client Registration S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Enhancement New feature of request labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Client-Registration Related to OIDC Dynamic Client Registration S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Enhancement New feature of request
Projects
None yet
Development

No branches or pull requests

1 participant