Skip to content

Return 302 on WebFinger when the user has moved #88

@cmrd-senya

Description

@cmrd-senya

RFC 7033 allows to redirect client to another resource.

When user has migrated it makes sense to return 302 when a WF request is made to the old resource and old host.

In order to do that we need to modify webfinger controller. Since we just rely on request to a gem user with fetch_person_for_webfinger callback I think we need to return another object instead of WebFinger entity in case of account move and just test it in the controller. If the callback returned the "moved object", we reply with 302.

Opinions?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions