Federation - Error when adding a distant user to a circle
How is it now?
When adding a distant user to a circle, the base url of its @id is changed. For example, if I add:
https://api.test-nantes.happy-dev.fr/users/alex/, after saving, in the members of a circle, I can see:
https://api.test-paris.happy-dev.fr/users/alex/
How should it be?
It shouldn't do anything but save with the @id given in the request
Steps to reproduce
- In
config.json, changecirclesandusersendpoints:
"circles": "https://api.test-paris.happy-dev.fr/sources/circles/",
"users": "https://api.test-paris.happy-dev.fr/sources/users/"
- Go in a circle where you have the right to add a member, and add one from
test-nantes - Check the new data saved at
https://api.test-paris.happy-dev.fr/circles/X/
The new member should have a wrong@id