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

fix(federation): Fix federation with Nextcloud 29.0.4 or later #12661

Conversation

nickvergessen
Copy link
Member

Since Nextcloud 29.0.4 ICloudID::getRemote() contains the protocol. Therefore we can no longer find the federation invites by the server URL, as the protocol was missing in the database.
To be more aligned with the future expectation of the handling, the protocol is added and now always expected.

☑️ Resolves

🛠️ API Checklist

  • Can not be covered by integration tests as they use http and therefore always have the protocol anyway.

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not possible
  • 📘 API documentation in docs/ has been updated or is not required
  • 🔖 Capability is added or not needed

@nickvergessen nickvergessen added this to the 💙 Next Major (30) milestone Jul 9, 2024
@nickvergessen nickvergessen self-assigned this Jul 9, 2024
@nickvergessen nickvergessen force-pushed the bugfix/12654/fix-federation-authentication-with-https-protocol branch from 70d3524 to 27cd959 Compare July 9, 2024 18:53
@nickvergessen
Copy link
Member Author

/backport to stable29

@SystemKeeper
Copy link
Contributor

Looks good, but unit tests are failing

Since 29.0.4 ICloudID::getRemote() contains the protocol.
Therefore we can no longer find the federation invites by the server URL,
as the protocol was missing in the database.
To be more aligned with the future expectation of the handling,
the protocol is added and now always expected.

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the bugfix/12654/fix-federation-authentication-with-https-protocol branch from 27cd959 to fe45a35 Compare July 10, 2024 06:34
@nickvergessen nickvergessen enabled auto-merge July 10, 2024 06:34
@nickvergessen nickvergessen merged commit 8c94c23 into main Jul 10, 2024
66 checks passed
@nickvergessen nickvergessen deleted the bugfix/12654/fix-federation-authentication-with-https-protocol branch July 10, 2024 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Federation invitation from stable29 to main fails
2 participants