question

dylan-1 avatar image
dylan-1 asked

[ue4] AuthenticationContext clarifications?

All Requests come with AuthenticationContext prop.

This makes it seem as if I can pass the context from multi-session envs. For example, testing with 2 players. However, I don't believe I am doing it right because my responses are always not what's expected.

If player A invites B, and B lists Group membership opportunities, why am I seeing 0 results? Am I using the right call? In the UI for that specific group, I can see the pending invite

  1. "A" calls https://learn.microsoft.com/en-us/rest/api/playfab/groups/groups/invite-to-group?view=playfab-rest

  2. "B" calls https://learn.microsoft.com/en-us/rest/api/playfab/groups/groups/list-membership-opportunities?view=playfab-rest

5313-image.png

![5314-image.png][2]

![5304-image.png][3]

I can see in the portal that this entity has pending group invites. Why am I seeing 0 results? Do I have to do more than just pass authentication context to the singleton api?

Edit: Welp, I included more images for clarity, but the forum has strict quotas ("No more attachments are allowed for this question").

sdksunreal
image.png (18.9 KiB)
image.png (27.8 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

According to the PlayFab Unreal Plugin source code, you can call APIs for different players based on the AuthenticationContext field. Can you share us a code snippet for research?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.