Skip to content

Commit

Permalink
Update README.md (#36)
Browse files Browse the repository at this point in the history
增加注意事项,已解决我在实际部署服务时候真实遇到的问题

```release-note
补充文档:增加一些注意事项
```
  • Loading branch information
Dacong-wu authored Aug 31, 2023
1 parent 3a4bf91 commit c5fa0ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ Halo 2.0 的 OAuth2 第三方登录插件。
| GitLab | [https://docs.gitlab.com](https://docs.gitlab.com/ee/integration/oauth_provider.html#configure-gitlab-as-an-oauth-20-authentication-identity-provider) | `Client ID` `Client Secret` | `read_user` | `<SITE_URL>/login/oauth2/code/gitlab` |
| Gitee | <https://gitee.com/oauth/applications> | `Client ID` `Client Secret` | `user_info` | `<SITE_URL>/login/oauth2/code/gitee` |

注意事项:

1. 如果认证失败,回调地址请使用 `http` 尝试。
2. <SITE_URL> 是不包含 `console` 的。
3. 如果你用于部署的服务器无法访问 GitHub,那 GitHub 认证会失败,其它同理,请先确认连通性。

## 开发环境

插件开发的详细文档请查阅:<https://docs.halo.run/developer-guide/plugin/hello-world>
Expand Down

0 comments on commit c5fa0ba

Please sign in to comment.