hub icon indicating copy to clipboard operation
hub copied to clipboard

[Account Linking] Infinite looping between origin and target cloud when same account who has different devices was linked in both clouds

Open Trishia opened this issue 4 years ago • 5 comments

@ondrejtomcik,

As you mentioned before, there has been an Account Linking issue related to Infinite looping between origin cloud and target cloud when the same account who has different devices was linked in both clouds each other.

I wish this issue would be solved as soon as possible.

Trishia avatar Nov 30 '20 08:11 Trishia

@ondrejtomcik @jkralik I just wondering about this issue will be solved in v2 branch or not yet ? please let me know.

Trishia avatar Mar 02 '21 04:03 Trishia

Hello Trishia We are almost done with this huge change: https://github.com/plgd-dev/cloud/pull/176 which is going to the v2. As soon as this is merged, we are going to integrate your config.

ondrejtomcik avatar Mar 02 '21 07:03 ondrejtomcik

Thank you for your kind response.

Trishia avatar Mar 02 '21 12:03 Trishia

Note: according to OCF Cloud API For Cloud Services Specification, section 7.1:

an Origin Cloud shall not proxy devices from the Target Cloud to another third-party cloud (whether that is an OCF Cloud or some other realization of cloud hosted functionality).

If I understood that correctly, we shouldn't forward forwarded devices in c2c-connector.

Danielius1922 avatar Jan 21 '22 10:01 Danielius1922

Yes, you are right. You should know original devices and forwarded devices in resource directory and not offer forwarded devices info to other origin cloud.

Trishia avatar Jan 21 '22 12:01 Trishia