From 0d94947d3c1298033819f7611fe8725d5651043b Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Wed, 30 Aug 2023 10:42:24 +0200 Subject: [PATCH] fix: rest path for StartIdentityProviderIntent (#6447) --- docs/docs/guides/integrate/login-ui/external-login.mdx | 2 +- proto/zitadel/user/v2alpha/user_service.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/guides/integrate/login-ui/external-login.mdx b/docs/docs/guides/integrate/login-ui/external-login.mdx index 74fe7c7f00..9609062bea 100644 --- a/docs/docs/guides/integrate/login-ui/external-login.mdx +++ b/docs/docs/guides/integrate/login-ui/external-login.mdx @@ -26,7 +26,7 @@ In the response, you will get an authentication URL of the provider you like. ```bash curl --request POST \ - --url https://$ZITADEL_DOMAIN/v2alpha/idp_intents/start \ + --url https://$ZITADEL_DOMAIN/v2alpha/idp_intents \ --header 'Accept: application/json' \ --header 'Authorization: Bearer '"$TOKEN"''\ --header 'Content-Type: application/json' \ diff --git a/proto/zitadel/user/v2alpha/user_service.proto b/proto/zitadel/user/v2alpha/user_service.proto index c2a9ca53d9..4168251712 100644 --- a/proto/zitadel/user/v2alpha/user_service.proto +++ b/proto/zitadel/user/v2alpha/user_service.proto @@ -490,7 +490,7 @@ service UserService { // Start an IDP authentication (for external login, registration or linking) rpc StartIdentityProviderIntent (StartIdentityProviderIntentRequest) returns (StartIdentityProviderIntentResponse) { option (google.api.http) = { - post: "/v2alpha/idp_intents/start" + post: "/v2alpha/idp_intents" body: "*" };