Closed flyinva closed 2 years ago
Thanks for the issue.
Do you know which version of Mattermost is used by Framapiaf? So far I've tested the integration with Mattermost 6.3.8.
I'll try 7.4 soon.
Tested with Mattermost 7.4.0: It works fine using oauth/access_token
.
Either Framapiaf uses a very old Mattermost version or there is some customization involved.
Hmmm it just hit me: Framapiaf is a Mastodon instance, not a Mattermost one :grin:. It would have been weird that different Mattermost versions would use different OAuth endpoints.
Feel free to reopen if needed.
Plugin uses this url for token access
Framapiaf server uses
https://framapiaf.org/oauth/token
. I've changed url to$url = $url . '/oauth/token';
to connect to Framapiaf server.