Open iameru opened 9 months ago
I had the same issue and solved it by reconnecting to my mattermost instance in the nextcloud profile setting (I think it's called "shared accounts" in English)
Hi @iameru, as @ripper17 said you should reconnect to your mattermost instance from "Settings -> Connected Accounts". The error points to an expired session {"id":"api.context.session_expired.app_error","message":"Ungültige oder abgelaufene Sitzung. Melde dich erneut an."
.
There is an auto token refresh mechanism when using OAuth, consider using that auth method.
In #17 this was already in the works but was closed. Exactly the same issue. Connecting via Username and password, in the settings the connect appears to work.
mattermost server
nextcloud server
integration_mattermost
I get the error (from console logs)
on a side note, if I activate
Enable navigation link (link to Mattermost with a top menu item)
the link is broken and leads tohttps://$NEXTCLOUDDOMAIN/settings/user/$MATTERMOSTDOMAIN
(whereas these uppercases are the correct domain names)