hackmdio / hackmdio/codimd-docs
Fix Mattermost OAuth2 documentation
オープン
- 主要言語
- 言語のデータがありません
- スター
- 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 はまだ評価されていません。