Skip to content

fix(SetupChecks): Pass webfinger if the handler returns 400 too - #49440

Merged
AndyScherzinger merged 1 commit into
masterfrom
fix-setupcheck-webfinger-400
Jan 26, 2025
Merged

fix(SetupChecks): Pass webfinger if the handler returns 400 too#49440
AndyScherzinger merged 1 commit into
masterfrom
fix-setupcheck-webfinger-400

Conversation

@joshtrichards

@joshtrichardsjoshtrichards commented Nov 21, 2024

Copy link
Copy Markdown
Member

Summary

When running a check against /.well-known/webfinger in a stock install the checks are fine, but when an actual webfinger handler is installed (like the social app) the return code is going to be 400 per the spec1 since the setup check isn't providing a ?resource value (and we're not going to).

Semi-related: nextcloud/social#1951 (because we were returning a 500 error since our check doesn't pass a resource value and now once merged that'll return a 400 as per the spec; though our checks obviously wouldn't have passed either way).

TODO

  • ...

Checklist

Footnotes

  1. https://datatracker.ietf.org/doc/html/rfc7033#section-4.2

@joshtrichards

Copy link
Copy Markdown
MemberAuthor

/backport to stable30

@joshtrichards

Copy link
Copy Markdown
MemberAuthor

/backport to stable29

@joshtrichardsjoshtrichards changed the title fix(SetupChecks): Pass webfinger if a handler (e.g. social) is enabledfix(SetupChecks): Pass webfinger if the handler returns 400Nov 23, 2024
@joshtrichardsjoshtrichards changed the title fix(SetupChecks): Pass webfinger if the handler returns 400fix(SetupChecks): Pass webfinger if the handler returns 400 tooNov 23, 2024
@AndyScherzinger

Copy link
Copy Markdown
Member

/backport to stable31

Signed-off-by: Josh <josh.t.richards@gmail.com>
@AndyScherzinger
AndyScherzingerforce-pushed the fix-setupcheck-webfinger-400 branch from 9403728 to b452dc0CompareJanuary 26, 2025 12:03
@nextcloudnextcloud deleted a comment from joshtrichardsJan 26, 2025
@susnux
susnux enabled auto-merge January 26, 2025 13:54
@susnux

Copy link
Copy Markdown
Contributor

Cypress unrelated

@AndyScherzinger
AndyScherzinger merged commit fba7ef9 into masterJan 26, 2025
Sign up for freeto 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.

0.6.0beta1: /index.php/.well-known/webfinger → Actor not found Wrong webfinger incorrect report on docker image

5 participants

@joshtrichards@AndyScherzinger@susnux@come-nc@skjnldsv