mattermost-community / mattermost-app-servicenow

Service Now app for Mattermost
Apache License 2.0
4 stars 5 forks source link

refresh bindings on disconnect and oauth complete #22

Closed mickmister closed 3 years ago

mickmister commented 3 years ago

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

mickmister commented 3 years ago

Closing due to automated solution https://github.com/mattermost/mattermost-plugin-apps/pull/158