mattermost-mobile icon indicating copy to clipboard operation
mattermost-mobile copied to clipboard

Latest beta mobile app doesn't send the Bearer token for external accounts

Open sdomi opened this issue 9 months ago • 13 comments

Summary

If the user logs in through SSO (GitLab), certain requests are not authenticated properly against the API. image. This is only true for requests for files or images - sending and receiving messages works.

This only happens on Android + External Login. If user logs in on Android through the internal login, images load just fine.

Environment Information

  • Device Name: n/a
  • OS Version: Android 14
  • Mattermost App Version: 2.16.0
  • Mattermost Server Version: 9.6

Steps to reproduce

  1. Log in onto mattermost through the GitLab SSO integration on Android (bug doesn't occur on iOS, so far)
  2. enter any channel

Expected behavior

The timeline shows up fully.

Observed behavior (that appears unintentional)

Messages can be seen, but no images load. If requests are intercepted, they lack the Authorization header.

Possible fixes

n/a

sdomi avatar Apr 26 '24 14:04 sdomi