hackmdio / hackmdio/codimd-docs

Fix Mattermost OAuth2 documentation

Đang mở
#5 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.