I am new to SharePoint framework and in one of the requirement I need to use the pnp spfx PeoplePicker, I have a List which is in different site collection. i.e. my List resides in Site A and I have a form at Site B which inserts PeoplePicker values in that list. when PeoplePicker values are inserted from same site collection i.e when form is submitted from the Site A where the List is, the values gets properly inserted, but when form is submitted from the different Site B or Site C the values differ in the List column. the value(user) submitted show different person or group in List column.
Is there a that a site context created for the selected site by and then that site context will passed in PeoplePicker context prop so it behaves same across site collections. I am stuck at this since a week now. any help or hint will be greatly appreciated.