-
-
Notifications
You must be signed in to change notification settings - Fork 98
Two objects sharing the same ID inside an actor #663
Copy link
Copy link
Closed
Labels
activitypub/complianceSpecification complianceSpecification compliancecomponent/actorActor dispatcher relatedActor dispatcher relatedcomponent/federationFederation object relatedFederation object relatedtype/bugSomething isn't workingSomething isn't working
Description
When testing with Fedify, I'm seeing actors like the attached. There are two objects with the same id but different types: the publicKey property with type CryptographicKey, and the assertionMethod property's first value, with a Multikey type.
I don't think that's valid JSON-LD; it's definitely not valid ActivityPub. Each object should have a unique, dereferenceable id value.
I'm working around this by special-casing the #main-key fragment ID to always choose a publicKey if it's available, but it would be good to give these two objects separate IDs. If they're the same object (are they?), it might be better to have a separate endpoint with multiple types.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
activitypub/complianceSpecification complianceSpecification compliancecomponent/actorActor dispatcher relatedActor dispatcher relatedcomponent/federationFederation object relatedFederation object relatedtype/bugSomething isn't workingSomething isn't working