hackmdio / hackmdio/codimd-docs

Fix Mattermost OAuth2 documentation

オープン
#5 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
2
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

The documentation found [here](https://github.com/hackmdio/codimd-docs/blob/master/authentication/oauth-mattermost.md) states that the callback URL should be `/auth/oauth2/callback`.

When using this configuration in Mattermost, the following error is raised : `invalid_request: Supplied redirect_uri did not match registered callback_url`.

Indeed, when inspecting the request to Mattermost, the URL looks like :

```
https:///oauth/authorize?response_type=code&redirect_uri=/auth/mattermost/callback&client_id=
```

So that the callback URL should be `/auth/mattermost/callback`. It works with this setup.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。