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.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Update authentication/oauth-mattermost.md, which currently documents the callback URL as /auth/oauth2/callback. Use the redirect_uri shown in the issue as the reference, change the documented Mattermost callback URL to /auth/mattermost/callback, and verify that the documentation matches the working setup described.
由索引模型根据 Issue 内容生成。
评估
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100