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

feat(authentication): add localSubject and subject as authentication options #14554

Conversation

Calinteodor
Copy link
Contributor

No description provided.

@Calinteodor Calinteodor requested review from saghul and damencho and removed request for saghul March 27, 2024 10:19
@Calinteodor Calinteodor marked this pull request as draft March 27, 2024 10:19
@Calinteodor Calinteodor marked this pull request as ready for review March 27, 2024 11:03
pendingSubjectChange: undefined,
room,
subject: undefined
room
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you drop these? Isn't this rest of state when room changes in mobile? Especially the pendingSubjectChange.

Copy link
Contributor Author

@Calinteodor Calinteodor Mar 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SET_ROOM here is triggered when we get back to the mobile app, joining the conference, after external authentication is complete. We don't want to set all of these to undefined, because if we do that subject and localSubject will be reset.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about pendingSubjectChange?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if there is no auth and a user joins a different meeting? That's the problem that code tries to solve.

@damencho
Copy link
Member

You need to update config.js

@Calinteodor Calinteodor deleted the add-subject-local-subject-auth-options branch March 27, 2024 13:40
@Calinteodor Calinteodor restored the add-subject-local-subject-auth-options branch March 27, 2024 14:17
@Calinteodor Calinteodor reopened this Mar 27, 2024
@Calinteodor Calinteodor deleted the add-subject-local-subject-auth-options branch March 27, 2024 14:54
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

Successfully merging this pull request may close these issues.

3 participants