Link to problem area:
https://spec.matrix.org/v1.16/client-server-api/#get_matrixclientv3profileuserid
Issue
The spec says mentions that authentication is not required for the endpoint, but Synapse for example may gate the endpoint behind auth.
This really makes a lot of sense. You may not want people to enumerate your user ids, nor do driveby requests for your profile data if you do not share a room. I think the spec should be clear that authentication may be required,