oculus-samples / Unity-SharedSpatialAnchors

Unity-SharedSpatialAnchors was built to demonstrate how to use the Shared Spatial Anchors API, available in the Meta XR Core SDK for the Unity game engine.
MIT License
119 stars 45 forks source link

Is it possible to test without User ID and User Profile permissions ? #7

Closed JulienCros closed 1 year ago

JulienCros commented 1 year ago

Hello,

I have understood from the following issue that, to try this repo and the Shared Anchors, we need to have access to the permissions "User ID" and "User Profile" from the "Data use checkup" tab. https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/4#issue-1505710867

We simply want to try this without actually designing a real app, in order to test if it could match our needs. Is there a way to do this without properly asking for it with a Privacy Policy ?

Thank you

NatalieFleury commented 1 year ago

From what I understand if you want to use Sharing APIs, you’re required to use the Oculus Developer hub to pass the API permissions. Since the app is using User IDs I believe you’ll need to enable that permission on Oculus Developer hub. I’m not certain/can’t remember whether User Profile is necessary or not.

On Tue, Feb 14, 2023 at 8:47 AM JulienCros @.***> wrote:

Hello,

I have understood from the following issue that, to try this repo and the Shared Anchors, we need to have access to the permissions "User ID" and "User Profile" from the "Data use checkup" tab.

4 (comment)

https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/4#issue-1505710867

We simply want to try this without actually designing a real app, in order to test if it could match our needs. Is there a way to do this without properly asking for it with a Privacy Policy ?

Thank you

— Reply to this email directly, view it on GitHub https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

JulienCros commented 1 year ago

From what I understand if you want to use Sharing APIs, you’re required to use the Oculus Developer hub to pass the API permissions. Since the app is using User IDs I believe you’ll need to enable that permission on Oculus Developer hub. I’m not certain/can’t remember whether User Profile is necessary or not. On Tue, Feb 14, 2023 at 8:47 AM JulienCros @.> wrote: Hello, I have understood from the following issue that, to try this repo and the Shared Anchors, we need to have access to the permissions "User ID" and "User Profile" from the "Data use checkup" tab. #4 (comment) <#4 (comment)> We simply want to try this without actually designing a real app, in order to test if it could match our needs. Is there a way to do this without properly asking for it with a Privacy Policy ? Thank you — Reply to this email directly, view it on GitHub <#7>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM . You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you for your answer. We are not really familiar with development on Oculus HMDs. Can't we use Test Users to try this repo without having to go through the Data Use Checkup ?

I have been trying to do so this morning but I keep having the "You are not authenticated to use this app. Shared Spatial Anchors will not work." log when using the app. Which apparently means that it retrieved 0 when looking for the UserID.

Do you know if this may be a normal behaviour ?

EDIT: Alright so I don't think Tests Users can be used to bypass the problem, contrary to what is said in the documentation ! We submitted a Data Use Checkup request and it was accepted instantly.

NatalieFleury commented 1 year ago

I suspect you'll have to do the data use checkup even with test users.

On Wed, Feb 15, 2023 at 3:53 AM JulienCros @.***> wrote:

From what I understand if you want to use Sharing APIs, you’re required to use the Oculus Developer hub to pass the API permissions. Since the app is using User IDs I believe you’ll need to enable that permission on Oculus Developer hub. I’m not certain/can’t remember whether User Profile is necessary or not. … <#m-6996086691582752915> On Tue, Feb 14, 2023 at 8:47 AM JulienCros @.> wrote: Hello, I have understood from the following issue that, to try this repo and the Shared Anchors, we need to have access to the permissions "User ID" and "User Profile" from the "Data use checkup" tab. #4 https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/4 (comment) <#4 (comment) https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/4#issue-1505710867> We simply want to try this without actually designing a real app, in order to test if it could match our needs. Is there a way to do this without properly asking for it with a Privacy Policy ? Thank you — Reply to this email directly, view it on GitHub <#7 https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/7>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM . You are receiving this because you are subscribed to this thread.Message ID: @.>

Thank you for your answer. We are not really familiar with development on Oculus HMDs. Can't we use Test Users to try this repo without having to go through the Data Use Checkup ?

I have been trying to do so this morning but I keep having the "You are not authenticated to use this app. Shared Spatial Anchors will not work." log when using the app. Which apparently means that it retrieved 0 when looking for the UserID.

Do you know if this may be a normal behaviour ?

— Reply to this email directly, view it on GitHub https://github.com/oculus-samples/Unity-SharedSpatialAnchors/issues/7#issuecomment-1431249967, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWBSEGFHPVYQUJKAJ2S2VDWXS7UNANCNFSM6AAAAAAU3ZPULM . You are receiving this because you commented.Message ID: @.***>

JulienCros commented 1 year ago

I suspect you'll have to do the data use checkup even with test users. On Wed, Feb 15, 2023 at 3:53 AM JulienCros @.> wrote: From what I understand if you want to use Sharing APIs, you’re required to use the Oculus Developer hub to pass the API permissions. Since the app is using User IDs I believe you’ll need to enable that permission on Oculus Developer hub. I’m not certain/can’t remember whether User Profile is necessary or not. … <#m-6996086691582752915> On Tue, Feb 14, 2023 at 8:47 AM JulienCros @.> wrote: Hello, I have understood from the following issue that, to try this repo and the Shared Anchors, we need to have access to the permissions "User ID" and "User Profile" from the "Data use checkup" tab. #4 <#4> (comment) <#4 (comment) <#4 (comment)>> We simply want to try this without actually designing a real app, in order to test if it could match our needs. Is there a way to do this without properly asking for it with a Privacy Policy ? Thank you — Reply to this email directly, view it on GitHub <#7 <#7>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM https://github.com/notifications/unsubscribe-auth/ADWBSEH2L5QEGCUW4437YBDWXOZJZANCNFSM6AAAAAAU3ZPULM . You are receiving this because you are subscribed to this thread.Message ID: @.> Thank you for your answer. We are not really familiar with development on Oculus HMDs. Can't we use Test Users to try this repo without having to go through the Data Use Checkup ? I have been trying to do so this morning but I keep having the "You are not authenticated to use this app. Shared Spatial Anchors will not work." log when using the app. Which apparently means that it retrieved 0 when looking for the UserID. Do you know if this may be a normal behaviour ? — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADWBSEGFHPVYQUJKAJ2S2VDWXS7UNANCNFSM6AAAAAAU3ZPULM . You are receiving this because you commented.Message ID: @.>

Well according to documentation test users should be able to bypass these permissions since we are advised to use them to continue developing while waiting for approval of our data use checkup submission.

But like I said we just had to ask for the checkup and it was accepted instantly and it then the authenfication problem was resolved.

However since this morning the problem returned for no reason. It worked when I left yesterday, and now what was resolved by the Data Use Ckeckup is showing itself again...

EDIT: I think someone had unchecked "Inherit my organization entitlements" for the Test Users without telling me so here's why the problem came back. I will close this issue.

testuser_entiltment

EDIT2: I forgot to thank you @NatalieFleury, so thank you for your help !