It’s just a matter of callimg the userinfo or Get users endpoints and using the returned URL.
It shouldn’t not be synced.