mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
fix: added login_hint to the idp intent (#11552)
# Which Problems Are Solved In login V2, when the user started the login flow of an external IDP, there was no login_hint passed to the external provider. This required the user to enter their username again. Whilst they already entered it in Zitadel. By adding the `login_hint` parameter, the username should already be filled in on the external idp. # How the Problems Are Solved Pass the `login_hint` parameter to the external idp. # Additional Changes Also added the `login_hint` to the event-store for audit trailing. # Additional Context - Closes #11392 --------- Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -49,6 +49,14 @@ message RedirectURLs {
|
||||
example: "\"https://custom.com/login/idp/fail\"";
|
||||
}
|
||||
];
|
||||
string login_hint = 3 [
|
||||
(validate.rules).string = {max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "login_hint hints to the login page which user wants to log in."
|
||||
max_length: 200;
|
||||
example: "\"someone@example.com\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message IDPIntent {
|
||||
|
||||
@@ -49,6 +49,14 @@ message RedirectURLs {
|
||||
example: "\"https://custom.com/login/idp/fail\"";
|
||||
}
|
||||
];
|
||||
string login_hint = 3 [
|
||||
(validate.rules).string = {max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "login_hint hints to the login page which user wants to log in."
|
||||
max_length: 200;
|
||||
example: "\"someone@example.com\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message IDPIntent {
|
||||
|
||||
Reference in New Issue
Block a user