Skip to content

Commit 129f03c

Browse files
committed
add remote_access_token_refresh flag
1 parent 19b2f27 commit 129f03c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/awsService/sagemaker/detached-server/routes/getSessionAsync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export async function handleGetSessionAsync(req: IncomingMessage, res: ServerRes
5050
const refreshUrl = await store.getRefreshUrl(connectionIdentifier)
5151
const { spaceName } = parseArn(connectionIdentifier)
5252

53-
const url = `${refreshUrl}/${encodeURIComponent(spaceName)}?reconnect_identifier=${encodeURIComponent(
53+
const url = `${refreshUrl}/${encodeURIComponent(spaceName)}?remote_access_token_refresh=true&reconnect_identifier=${encodeURIComponent(
5454
connectionIdentifier
5555
)}&reconnect_request_id=${encodeURIComponent(requestId)}&reconnect_callback_url=${encodeURIComponent(
5656
`http://localhost:${serverInfo.port}/refresh_token`

0 commit comments

Comments
 (0)