Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AndreiZe opened this issue Oct 19, 2023 · 2 comments

Comments

@AndreiZe
Copy link
Contributor

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

@jatgarg
Copy link
Contributor

jatgarg commented Jan 17, 2024

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

@jatgarg
Copy link
Contributor

jatgarg commented Apr 1, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants