From e9cb1b90aaedd507bac3940b52198323f295c0a1 Mon Sep 17 00:00:00 2001 From: Lucas Verdiell Date: Mon, 8 Jan 2024 14:21:06 +0000 Subject: [PATCH] docs: fix request example in custom login with idp docs (#7154) Co-authored-by: Florian Forster --- docs/docs/guides/integrate/login-ui/external-login.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/docs/guides/integrate/login-ui/external-login.mdx b/docs/docs/guides/integrate/login-ui/external-login.mdx index 9678a3b797..8c913dd076 100644 --- a/docs/docs/guides/integrate/login-ui/external-login.mdx +++ b/docs/docs/guides/integrate/login-ui/external-login.mdx @@ -31,9 +31,11 @@ curl --request POST \ --header 'Authorization: Bearer '"$TOKEN"''\ --header 'Content-Type: application/json' \ --data '{ - "idp_id": "$IDP_ID", - "successUrl": "https://custom.com/login/idp/success", - "failureUrl": "https://custom.com/login/idp/fail" + "idpId": "$IDP_ID", + "urls": { + "successUrl": "https://custom.com/login/idp/success", + "failureUrl": "https://custom.com/login/idp/fail" + } }' ```