diff --git a/docs/sso/oauth2.md b/docs/sso/oauth2.md index f3734cb0203ff48c32af5517b8dc388b400f9d8f..e103f2b76fc1a9e5760d5e3fef19a39ff5fa2569 100644 --- a/docs/sso/oauth2.md +++ b/docs/sso/oauth2.md @@ -119,7 +119,7 @@ https://sso.maxkey.org/maxkey/oauth/v20/token?client_id=YOUR_CLIENT_ID&client_se
The actual request might look like:
POST /oauth/v20/token token HTTP/1.1
-Host: login.MaxKey.com/openapi
+Host: sso.maxkey.org/openapi
Content-Type: application/x-www-form-urlencoded
tokencode= PQ7q7W91a-oMsCeLvIaQm6bTrgtp7&
client_id=QPKKKSADFUP876&
client_secret={client_secret}&
-redirect_uri=http://app.MaxKey.com/app/callback
+redirect_uri=http://app.maxkey.org/app/callback
@@ -260,7 +260,7 @@ access_token : "token_id"
实际请求如下:
POST /oauth/ userinfo HTTP/1.1
-Host: login.MaxKey.com/openapi
+Host: sso.maxkey.org/openapi
Content-Type: application/x-www-form-urlencoded
access_token= PQ7q7W91a-oMsCeLvIaQm6bTrgtp7