diff --git a/docs/sso/oauth2.md b/docs/sso/oauth2.md index ebf0a5e342e7afdd32482bb7c109dfc1520cbeaa..1b7570a7c12663f9e6a71641140cc27019abe795 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 返回值