mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:07:30 +00:00
fix: tos on external registration (#2164)
* faet: add tos checkbox to external login * fix: add tos to external not found option * fix: add tos to external not found option * fix: show register external user overview * fix: no init user mail on external register * fix: custom login text * add missing custom text tests on org * add missing custom text tests on iam * fix: custom login text external registration overview tests * fix: back button on registration overview * fix: add texts, change register form * fix: external not found html * fix: remove form validation Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -3393,6 +3393,7 @@ message SetCustomLoginTextsRequest {
|
||||
zitadel.text.v1.PasswordlessPromptScreenText passwordless_prompt_text = 32;
|
||||
zitadel.text.v1.PasswordlessRegistrationScreenText passwordless_registration_text = 33;
|
||||
zitadel.text.v1.PasswordlessRegistrationDoneScreenText passwordless_registration_done_text = 34;
|
||||
zitadel.text.v1.ExternalRegistrationUserOverviewScreenText external_registration_user_overview_text = 35;
|
||||
}
|
||||
|
||||
message SetCustomLoginTextsResponse {
|
||||
|
@@ -4561,6 +4561,7 @@ message SetCustomLoginTextsRequest {
|
||||
zitadel.text.v1.PasswordlessPromptScreenText passwordless_prompt_text = 32;
|
||||
zitadel.text.v1.PasswordlessRegistrationScreenText passwordless_registration_text = 33;
|
||||
zitadel.text.v1.PasswordlessRegistrationDoneScreenText passwordless_registration_done_text = 34;
|
||||
zitadel.text.v1.ExternalRegistrationUserOverviewScreenText external_registration_user_overview_text = 35;
|
||||
}
|
||||
|
||||
message SetCustomLoginTextsResponse {
|
||||
|
@@ -82,6 +82,7 @@ message LoginCustomText {
|
||||
PasswordlessPromptScreenText passwordless_prompt_text = 32;
|
||||
PasswordlessRegistrationScreenText passwordless_registration_text = 33;
|
||||
PasswordlessRegistrationDoneScreenText passwordless_registration_done_text = 34;
|
||||
ExternalRegistrationUserOverviewScreenText external_registration_user_overview_text = 35;
|
||||
}
|
||||
|
||||
message SelectAccountScreenText {
|
||||
@@ -305,6 +306,25 @@ message RegistrationUserScreenText {
|
||||
string tos_confirm_and = 22 [(validate.rules).string = {max_len: 200}];
|
||||
}
|
||||
|
||||
message ExternalRegistrationUserOverviewScreenText {
|
||||
string title = 1 [(validate.rules).string = {max_len: 200}];
|
||||
string description = 2 [(validate.rules).string = {max_len: 500}];
|
||||
string email_label = 3 [(validate.rules).string = {max_len: 200}];
|
||||
string username_label = 4 [(validate.rules).string = {max_len: 200}];
|
||||
string firstname_label = 5 [(validate.rules).string = {max_len: 200}];
|
||||
string lastname_label = 6 [(validate.rules).string = {max_len: 200}];
|
||||
string nickname_label = 7 [(validate.rules).string = {max_len: 200}];
|
||||
string language_label = 8 [(validate.rules).string = {max_len: 200}];
|
||||
string phone_label = 9 [(validate.rules).string = {max_len: 200}];
|
||||
string tos_and_privacy_label = 10 [(validate.rules).string = {max_len: 200}];
|
||||
string tos_confirm = 11 [(validate.rules).string = {max_len: 200}];
|
||||
string tos_link_text = 12 [(validate.rules).string = {max_len: 200}];
|
||||
string tos_confirm_and = 13 [(validate.rules).string = {max_len: 200}];
|
||||
string privacy_link_text = 14 [(validate.rules).string = {max_len: 200}];
|
||||
string back_button_text = 15 [(validate.rules).string = {max_len: 200}];
|
||||
string next_button_text = 16 [(validate.rules).string = {max_len: 200}];
|
||||
}
|
||||
|
||||
message RegistrationOrgScreenText {
|
||||
reserved 13, 15, 16, 18;
|
||||
reserved "tos_link", "privacy_confirm", "privacy_link", "external_login_description";
|
||||
@@ -337,6 +357,11 @@ message ExternalUserNotFoundScreenText {
|
||||
string description = 2 [(validate.rules).string = {max_len: 500}];
|
||||
string link_button_text = 3 [(validate.rules).string = {max_len: 100}];
|
||||
string auto_register_button_text = 4 [(validate.rules).string = {max_len: 100}];
|
||||
string tos_and_privacy_label = 5 [(validate.rules).string = {max_len: 200}];
|
||||
string tos_confirm = 6 [(validate.rules).string = {max_len: 200}];
|
||||
string tos_link_text = 7 [(validate.rules).string = {max_len: 200}];
|
||||
string privacy_link_text = 8 [(validate.rules).string = {max_len: 200}];
|
||||
string tos_confirm_and = 9 [(validate.rules).string = {max_len: 200}];
|
||||
}
|
||||
|
||||
message SuccessLoginScreenText {
|
||||
@@ -385,4 +410,5 @@ message PasswordlessRegistrationDoneScreenText {
|
||||
string title = 1 [(validate.rules).string = {max_len: 200}];
|
||||
string description = 2 [(validate.rules).string = {max_len: 500}];
|
||||
string next_button_text = 3 [(validate.rules).string = {max_len: 100}];
|
||||
string cancel_button_text = 4 [(validate.rules).string = {max_len: 100}];
|
||||
}
|
Reference in New Issue
Block a user