mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-31 19:42:15 +00:00
fix: automatically link user without prompt (#8487)
# Which Problems Are Solved There were UX issue with the autolinking prompt page and users were not able to link their account or would not understand what to do. Since the trust to the IdP is already bound by the configuration, the user can directly be linked without any user input. # How the Problems Are Solved - remove the prompt page and directly link the user if possible - remove corresponding customization texts from the API and Console # Additional Changes None # Additional Context - relates to https://github.com/zitadel/zitadel/issues/7977 - discussed with customers - created as a `fix` to be able to backport --------- Co-authored-by: Max Peintner <[email protected]>
This commit is contained in:
co-authored by
Max Peintner
parent
bc2c2feefd
commit
ca8f82423a
@@ -15,7 +15,6 @@ import {
|
||||
InitPasswordDoneScreenText,
|
||||
InitPasswordScreenText,
|
||||
LinkingUserDoneScreenText,
|
||||
LinkingUserPromptScreenText,
|
||||
LoginScreenText,
|
||||
LogoutDoneScreenText,
|
||||
MFAProvidersText,
|
||||
@@ -377,12 +376,5 @@ export function mapRequestValues(map: Partial<Map>, req: Req): Req {
|
||||
r34.setUsernameLabel(map.externalRegistrationUserOverviewText?.usernameLabel ?? '');
|
||||
req.setExternalRegistrationUserOverviewText(r34);
|
||||
|
||||
const r35 = new LinkingUserPromptScreenText();
|
||||
r35.setTitle(map.linkingUserPromptText?.title ?? '');
|
||||
r35.setDescription(map.linkingUserPromptText?.description ?? '');
|
||||
r35.setLinkButtonText(map.linkingUserPromptText?.linkButtonText ?? '');
|
||||
r35.setOtherButtonText(map.linkingUserPromptText?.otherButtonText ?? '');
|
||||
req.setLinkingUserPromptText(r35);
|
||||
|
||||
return req;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,6 @@ const KeyNamesArray = [
|
||||
'initPasswordText',
|
||||
'initializeDoneText',
|
||||
'initializeUserText',
|
||||
'linkingUserPromptText',
|
||||
'linkingUserDoneText',
|
||||
'loginText',
|
||||
'logoutText',
|
||||
|
||||
Reference in New Issue
Block a user