FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Stop requiring guestDisplayName as pre-condition for requestSocketToken: true as part of joinSession payload

Open AndreiZe opened this issue 2 years ago • 1 comments

Work Item

Describe the outcome you expect

fetchJoinSession allows requestSocketToken argument which can be set to true to instruct /joinSession backend to fetch access token for Push service and return it back as part of joinSession response payload. Current implementation sends such instruction only if guestDisplayName argument value is not undefined. That used to be required by joinSession implementation, but it is no longer the case. In fact, requestSocketToken is set to true in MSA case and the caller is forced to specify guestDisplayName which does not make sense in case of MSA user (it is not guest scenario).

Approach

The code change required is very simple. In the following code we need to remove check for guestDisplayName !== undefined: fetchJoinSession

Open questions

None

Additional context

None

Acceptance criteria

Code change

AndreiZe avatar Oct 19 '23 23:10 AndreiZe

I am going to open an ADO task and will schedule it in a future sprint. Will update once I schedule it.

jatgarg avatar Jan 17 '24 21:01 jatgarg

ADO task link: https://dev.azure.com/fluidframework/internal/_workitems/edit/7614

jatgarg avatar Apr 01 '24 17:04 jatgarg