Skip to content

Commit 46dfaeb

Browse files
committed
Added private link
1 parent 93df188 commit 46dfaeb

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,25 @@ else:
8383
"""
8484

8585
```
86+
87+
## 自定义请求链接
88+
89+
----------
90+
91+
如果你私有部署了 Authing,可以通过以下方式初始化 URL:
92+
93+
``` python
94+
from authing.authing import Authing
95+
96+
clientId = 'your_client_id'
97+
secret = 'your_app_secret'
98+
99+
authing = Authing(clientId, secret, {
100+
"oauth": 'https://oauth.your_url.com/graphql',
101+
"users": 'https://users.your_url.com/graphql'
102+
})
103+
```
104+
86105
了解更多报错的详情,请查看[错误代码列表](https://learn.authing.cn/authing/advanced/error-code)
87106

88107
[接口相关文档请点击这里](https://learn.authing.cn/authing/sdk/authing-sdk-for-web/web-sdk-for-roles)

0 commit comments

Comments
 (0)