Open stepcellwolf opened 9 months ago
Is your mattermost really installed inside a subfolder /mattermost/ or directly at the base of your chat.domain.ltd/?
Only put "https://chat.domain.ltd" (or "https://chat.domain.ltd/mattermost" if this is the base of your mattermost installation) in "OAuth app instance address" field of Nextcloud and try again.
Don't add any like "/api/v4/posts" or "/oauth/authorize" after your Mattermost URL or it will not work.
I had similar issue when my OAuth app instance address was https://chat.domain.ltd/oauth/authorize, I had 404 trying to access https://chat.domain.ltd/oauth/authorize/oauth/access_token after fixing the OAuth app instance address to only https://chat.domain.ltd the redirection was correct to https://chat.domain.ltd/oauth/access_token
REFERENCES https://developers.mattermost.com/integrate/apps/authentication/oauth2/#oauth-endpoints https://nextcloud.com/blog/introducing-the-nextcloud-and-mattermost-integration/
Hi,
I'm having problem running the app within: Nextcloud 28.0.2 Mattermost Version: 9.4.2 Database Schema Version: 117 Build Number: 7586560796
No matter which option I select, Upload file, Public links or internal links still I get the following error:
Failed to send internal links to Mattermost: "Client error:
POST https:\/\/chat.domain.ltd\/mattermost\/\/api\/v4\/postsresulted in a
404 Not Foundresponse:\n{\"id\":\"api.context.404.app_error\",\"message\":\"Sorry, we could not find the page.\",\"detailed_error\":\"There doesn't appear (truncated...)\n"
Any work around or solution?
From my understanding, the api URL is not correct.