This PR makes it so a binding refresh websocket message is sent to the user when they disconnect or complete the oauth process. This is done by calling POST /plugins/com.mattermost.apps/api/v1/refresh_bindings?user_id=(some_user_id).
This fix requires no changes to webapp, server, or mobile.
Summary
This PR makes it so a binding refresh websocket message is sent to the user when they disconnect or complete the oauth process. This is done by calling
POST /plugins/com.mattermost.apps/api/v1/refresh_bindings?user_id=(some_user_id)
.This fix requires no changes to webapp, server, or mobile.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-35076
Related Pull Requests
https://github.com/mattermost/mattermost-plugin-apps/pull/158