@pfefferle Is this a hint we'll be able to transfer from Mastodon to WP blogs with the plugin soon? (pls pls pls)
@pfefferle I would think "yes" but I don't actually know.
@pfefferle you need to make sure the target actor includes the source actor in its alsoKnownAs, then it should work.
(Mastodon only supports Move's of Actors)
@pfefferle which URL? The server URL, or the Actor ID?
@pfefferle Hmmm…I think the permalinks would be different, although I am sure WordPress could be setup in a way where the permalinks are preserved.
@darnell my idea is to change the Actor-ID of a WordPress user to something more generic, so that he/she can more easily rename their handle and maybe also the author-url!
@pfefferle @darnell using usernames in actor ID URIs is discouraged & you should instead use a stable identifier.
@pfefferle @darnell
I use uuids for the ObjectIds (actor id). I had also toyed with the idea of using the Oauth2 UserId, but decided against it.
I might want to allow the actor to log in with 2 different Oauth2 providers at some point.
However, this makes debugging and troubleshooting hell ;-)
{
"id" : "https://dev.rdf-pub.org/e83aa7a7-6dee-4863-9ffb-e7f57d866d6c/7826f428-40cd-46bd-b1bb-54bdd01bb257",
"type" : [ "prov:Entity", "Person" ],
"inbox" : "https://dev.rdf-pub.org/e83aa7a7-6dee-4863-9ffb-e7f57d866d6c/inbox",
...
}
@pfefferle @darnell You did not mean the whole URL to be the same, but the Base URL?
Or did you mean that the "url" attribute of the two actor objects is identical, but the "id" points to a new one?
@pfefferle @linos @darnell I'm more worried about the query parameter in an IRI than I am about the Move activity having its target on the same domain! I'm no JSON-LD wizard but I wonder if that's valid as a URI to stick in an `actor.id`, and even if it's valid, I'd worry other implementations botching it or dropping the `?...` somehow, because of some unwitting behavior of underlying HTTP validation libraries or whatever
@by_caballero @linos @darnell interesting point, but WordPress already uses it for Comments and it seems to work properly so far.
@pfefferle @by_caballero @darnell An URI supports query parameters, and even fragments! https://datatracker.ietf.org/doc/html/rfc3986#section-3
So also the WordPress ActivityPub URIs for Create/Announce etc are valid!
@linos @pfefferle @darnell from the underlying normref supporting it to all implementations behaving as expected is a bit of a leap of faith, but good to know the _first_ part of my concern was baseless!
@pfefferle I’ve been wondering this too. I was going to experiment with a rename temporarily creating two actors to “move” between the old name and new name. I’d love to know the correct way to do this.
@pfefferle a similar corner case (moving to the exact same URL) came up two weeks ago. i think moving to the same URL with a different query parameter at the end or dropping the query param might be closer to the same URL case than the same domain case, as per my fretting in another branch of this thread https://socialhub.activitypub.rocks/t/switching-ap-server-software-on-the-same-domain/4508/4