snapcrafters / mattermost-desktop

A community-maintained package to easily install Mattermost Desktop on Linux
https://snapcraft.io/mattermost-desktop/
MIT License
11 stars 7 forks source link

[Bug]: SSO login fails #110

Open AlanGriffiths opened 1 month ago

AlanGriffiths commented 1 month ago

What happened?

Got logged out, tried to login, so:

  1. got redirected to my browser for our internal chat instance
  2. logged in through SSO
  3. allowed opening the app from the browser window
  4. something (xdg-open?) cannot find an application for x-scheme-handler/mattermost and tries unsuccessfully to launch gnome-software

(This is different in the last step to #102, and the workaround described there doesn't help)

What should have happened?

  1. The app is logged in

Output of snap info $snap_name

name:      mattermost-desktop
summary:   A secure, flexible platform build for the new era of collaboration
publisher: Snapcrafters✪
store-url: https://snapcraft.io/mattermost-desktop
contact:   https://github.com/snapcrafters/mattermost-desktop/issues
license:   MIT
description: |
  Mattermost is secure workplace messaging from behind your firewall.

  - Discuss topics in private groups, one-to-one or team-wide
  - Easily share and view image files
  - Connect in-house systems with webhooks and Slack-compatible integrations

  For technical and operations teams who execute high-stakes, collaborative workflows,
  Mattermost provides integrated team messaging, audio and screen share, workflow
  automation
  and project management. Governments, banks and tech giants use our secure collaboration
  platform
  to reduce risk and error rates while accelerating technical productivity.

  To use this app, you need a URL for a Mattermost server.

  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - mattermost-desktop
snap-id:      ed0pxJoDHrgmAWHH7baX5nryAHy1UNj0
tracking:     latest/stable
refresh-date: today at 09:58 BST
channels:
  latest/stable:    5.9.0 2024-08-16 (762) 120MB -
  latest/candidate: 5.9.0 2024-08-16 (762) 120MB -
  latest/beta:      ↑                            
  latest/edge:      ↑                            
installed:          5.9.0            (762) 120MB -

Output of snap connections $snap_name

name:      mattermost-desktop
summary:   A secure, flexible platform build for the new era of collaboration
publisher: Snapcrafters✪
store-url: https://snapcraft.io/mattermost-desktop
contact:   https://github.com/snapcrafters/mattermost-desktop/issues
license:   MIT
description: |
  Mattermost is secure workplace messaging from behind your firewall.

  - Discuss topics in private groups, one-to-one or team-wide
  - Easily share and view image files
  - Connect in-house systems with webhooks and Slack-compatible integrations

  For technical and operations teams who execute high-stakes, collaborative workflows,
  Mattermost provides integrated team messaging, audio and screen share, workflow
  automation
  and project management. Governments, banks and tech giants use our secure collaboration
  platform
  to reduce risk and error rates while accelerating technical productivity.

  To use this app, you need a URL for a Mattermost server.

  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - mattermost-desktop
snap-id:      ed0pxJoDHrgmAWHH7baX5nryAHy1UNj0
tracking:     latest/stable
refresh-date: today at 09:58 BST
channels:
  latest/stable:    5.9.0 2024-08-16 (762) 120MB -
  latest/candidate: 5.9.0 2024-08-16 (762) 120MB -
  latest/beta:      ↑                            
  latest/edge:      ↑                            
installed:          5.9.0            (762) 120MB -

Output of snap version

snap    2.63.1+24.04
snapd   2.63.1+24.04
series  16
ubuntu  24.04
kernel  6.8.0-45-generic

Relevant log output

n/a

Teminal output of app

n/a
AlanGriffiths commented 1 month ago

Workaround:

  1. Do the same on another laptop (which works)
  2. sync ~/snap/mattermost-desktop/...