fix: rest path for StartIdentityProviderIntent (#6447)

This commit is contained in:
Livio Spring 2023-08-30 10:42:24 +02:00 committed by GitHub
parent 14d799e750
commit 0d94947d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ In the response, you will get an authentication URL of the provider you like.
```bash ```bash
curl --request POST \ curl --request POST \
--url https://$ZITADEL_DOMAIN/v2alpha/idp_intents/start \ --url https://$ZITADEL_DOMAIN/v2alpha/idp_intents \
--header 'Accept: application/json' \ --header 'Accept: application/json' \
--header 'Authorization: Bearer '"$TOKEN"''\ --header 'Authorization: Bearer '"$TOKEN"''\
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \

View File

@ -490,7 +490,7 @@ service UserService {
// Start an IDP authentication (for external login, registration or linking) // Start an IDP authentication (for external login, registration or linking)
rpc StartIdentityProviderIntent (StartIdentityProviderIntentRequest) returns (StartIdentityProviderIntentResponse) { rpc StartIdentityProviderIntent (StartIdentityProviderIntentRequest) returns (StartIdentityProviderIntentResponse) {
option (google.api.http) = { option (google.api.http) = {
post: "/v2alpha/idp_intents/start" post: "/v2alpha/idp_intents"
body: "*" body: "*"
}; };