Skip to content

Commit 968f09e

Browse files
authored
docs: fix Identity OAuth2 token endpoint (#430)
Signed-off-by: Xie Zhihao <zhihao.xie@bytedance.com>
1 parent 5fce720 commit 968f09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/auth/inbound.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ USER_POOL_ID="FILL_IN_YOUR_USER_POOL_ID"
6565
CLIENT_ID="FILL_IN_YOUR_CLIENT_ID"
6666
CLIENT_SECRET="FILL_IN_YOUR_SECRET"
6767

68-
curl --location "https://auth.id.${REGION}.volces.com/userpool/${USER_POOL_ID}/oauth/token" \
68+
curl --location "https://userpool-${USER_POOL_ID}.userpool.auth.id.${REGION}.volces.com/oauth/token" \
6969
--header "Content-Type: application/x-www-form-urlencoded" \
7070
--header "Authorization: Basic $(echo -n "${CLIENT_ID}:${CLIENT_SECRET}" | base64)" \
7171
--data-urlencode "grant_type=client_credentials"

0 commit comments

Comments
 (0)