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

Fix MM-207, Create callback for Jitsi server to validated user / host. #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dimashasbi
Copy link

This PR works for this Problem Jitsi Issue 207

This PR adds a callback feature when the Jitsi Meeting URL is opened (ex: https://instance.jitsi/room).
Once the URL is open, Jitsi server will send a callback to 'mattermost-server-api' to check user validation.

Process in auth-callback expected 3 conditions.

  1. validated then redirect URL to original jitsi space url with valid jwt
  2. invalid, then redirect to site url to login
  3. error while validating, then redirect url to original jitsi space url but with invalid jwt.

The above 3 conditions have been coded for testing.

Variables for validation are stored in the Plugin Structure.
*note, validation is only based on the room variable in the header only

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.

1 participant