From 095b0e91b929d8e525450a442712f7ace44484bf Mon Sep 17 00:00:00 2001 From: shimingxy Date: Thu, 12 Mar 2020 11:13:22 +0800 Subject: [PATCH] Update oauth2.md --- docs/sso/oauth2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sso/oauth2.md b/docs/sso/oauth2.md index ebf0a5e34..1b7570a7c 100644 --- a/docs/sso/oauth2.md +++ b/docs/sso/oauth2.md @@ -10,7 +10,7 @@ 1.引导需要授权的用户到如下地址:
-https://sso.maxkey.org/maxkey/oauth/v20/authorize?client_id=YOUR_CLIENT_ID&response_type=code&redirect_uri=YOUR_REGISTERED_REDIRECT_URI 
+https://sso.maxkey.org/maxkey/oauth/v20/authorize?client_id=YOUR_CLIENT_ID&response_type=code&redirect_uri=YOUR_REGISTERED_REDIRECT_URI 2.页面跳转至 @@ -20,7 +20,7 @@ YOUR_REGISTERED_REDIRECT_URI/?code=CODEsss 3. 换取Access Token
-https://sso.maxkey.org/maxkey/oauth/v20/token?client_id=YOUR_CLIENT_ID&client_secret=YOUR _SECRET&grant_type=authorization_code&redirect_uri=YOUR_REGISTERED_REDIRECT_URI&code=CODE
+https://sso.maxkey.org/maxkey/oauth/v20/token?client_id=YOUR_CLIENT_ID&client_secret=YOUR _SECRET&grant_type=authorization_code&redirect_uri=YOUR_REGISTERED_REDIRECT_URI&code=CODE 返回值 -- GitLab