fix: add userID to intent responses (#6566)

Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Stefan Benz
2023-09-25 07:21:50 +02:00
committed by GitHub
parent 689655a50d
commit 2823678eb6
5 changed files with 228 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ message IDPIntent {
description: "ID of the IDP intent"
min_length: 1;
max_length: 200;
example: "\"163840776835432705=\"";
example: "\"163840776835432705\"";
}
];
string idp_intent_token = 2 [
@@ -68,6 +68,13 @@ message IDPIntent {
example: "\"SJKL3ioIDpo342ioqw98fjp3sdf32wahb=\"";
}
];
string user_id = 3 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "ID of the ZITADEL user if external user already linked"
max_length: 200;
example: "\"163840776835432345\"";
}
];
}
message IDPInformation{

View File

@@ -1159,6 +1159,12 @@ message RetrieveIdentityProviderIntentRequest{
message RetrieveIdentityProviderIntentResponse{
zitadel.object.v2beta.Details details = 1;
IDPInformation idp_information = 2;
string user_id = 3 [
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
description: "ID of the user in ZITADEL if external user is linked"
example: "\"163840776835432345\"";
}
];
}
message AddIDPLinkRequest{