Skip to content

Conversation

zecakeh
Copy link
Collaborator

@zecakeh zecakeh commented Apr 2, 2025

MSC2966 was updated pre-FCP (matrix-org/matrix-spec-proposals#2966 (comment)), clients should re-register for every login, so we don't need to store the client IDs between logins.

@zecakeh zecakeh requested a review from a team as a code owner April 2, 2025 12:13
@zecakeh zecakeh requested review from stefanceriu and removed request for a team April 2, 2025 12:13
Copy link

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.54%. Comparing base (c4d9ec9) to head (a18d511).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4879      +/-   ##
==========================================
- Coverage   86.56%   86.54%   -0.02%     
==========================================
  Files         300      299       -1     
  Lines       34985    34925      -60     
==========================================
- Hits        30284    30226      -58     
+ Misses       4701     4699       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zecakeh zecakeh changed the title refactor(oauth): Remove OAuthRegistrationStore refactor(oauth): Remove OAuthRegistrationStore and issuer Apr 2, 2025
@zecakeh
Copy link
Collaborator Author

zecakeh commented Apr 2, 2025

I added another commit that also removes the issuer that we were holding in OAuthAuthData. It was mostly unused for a while, and now that users can just use the homeserver URL for static registrations, it's not necessary to have the OAuth::issuer() helper method.

@zecakeh zecakeh force-pushed the rm-registration-store branch from df7706f to 7a32728 Compare April 2, 2025 14:04
Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thank you very much! 🙏

@stefanceriu stefanceriu enabled auto-merge (rebase) April 3, 2025 09:32
zecakeh added 3 commits April 3, 2025 11:36
MSC2966 was updated, clients should re-register for every log in, so we
don't need to store the client IDs between logins.

Signed-off-by: Kévin Commaille <[email protected]>
It is actually unused, and now that we only need homeserver URLs for
static registrations, users don't need to access it easily.

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh force-pushed the rm-registration-store branch from 7a32728 to a18d511 Compare April 3, 2025 09:38
@stefanceriu stefanceriu merged commit c8da9cb into matrix-org:main Apr 3, 2025
40 of 41 checks passed
@zecakeh zecakeh deleted the rm-registration-store branch April 3, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants