Skip to content

Commit

Permalink
fix(oauth): correct token url
Browse files Browse the repository at this point in the history
  • Loading branch information
tnqzh123 committed May 4, 2024
1 parent 2f4be05 commit 6c20912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/advanced/oauth2.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ LittleSkin 支持 OAuth 2 服务端。你可以在你的应用中集成「使用
| API 端点 Endpoint | URL |
| ---------------------- | ------------------------------------------ |
| 授权 Authorize | `https://littleskin.cn/oauth/authorize` |
| 令牌 Token | `https://littleskin.cn/oauth/access_token` |
| 令牌 Token | `https://littleskin.cn/oauth/token` |
| 用户信息 User Info | `https://littleskin.cn/api/user` |
| 刷新令牌 Refresh Token | `https://littleskin.cn/api/auth/refresh` |

Expand Down Expand Up @@ -81,7 +81,7 @@ GET https://littleskin.cn/oauth/authorize
客户端构造 URL 并发起 POST 请求。

``` http
POST https://littleskin.cn/oauth/access_token
POST https://littleskin.cn/oauth/token
Content-Type: application/x-www-form-urlencoded
{
Expand Down

0 comments on commit 6c20912

Please sign in to comment.