mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-25 12:19:20 +00:00
feat(idp): provide option to auto link user (#7734)
* init auto linking * prompt handling * working * translations * console * fixes * unify * custom texts * fix tests * linting * fix check of existing user * fix bg translation * set unspecified as default in the form
This commit is contained in:
@@ -316,6 +316,11 @@ LogoutDone:
|
||||
Title: Излязъл
|
||||
Description: Вие излязохте успешно.
|
||||
LoginButtonText: Влизам
|
||||
LinkingUserPrompt:
|
||||
Title: Намерен съществуващ потребител
|
||||
Description: „Искате ли да свържете съществуващия си акаунт:“
|
||||
LinkButtonText: Връзка
|
||||
OtherButtonText: Други възможности
|
||||
LinkingUsersDone:
|
||||
Title: Свързване с потребители
|
||||
Description: Свързването с потребители е готово.
|
||||
|
||||
@@ -325,6 +325,12 @@ LogoutDone:
|
||||
Description: Byli jste úspěšně odhlášeni.
|
||||
LoginButtonText: Přihlásit se
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Nalezen stávající uživatel
|
||||
Description: "Chcete propojit svůj stávající účet:"
|
||||
LinkButtonText: Odkaz
|
||||
OtherButtonText: Jiné možnosti
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Propojení uživatele
|
||||
Description: Uživatel propojen.
|
||||
|
||||
@@ -324,6 +324,12 @@ LogoutDone:
|
||||
Description: Du wurdest erfolgreich abgemeldet.
|
||||
LoginButtonText: Anmelden
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Vorhandener Benutzer gefunden
|
||||
Description: "Möchten Sie Ihr bestehendes Konto verknüpfen:"
|
||||
LinkButtonText: Verknüpfen
|
||||
OtherButtonText: Andere Optionen
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Benutzerkonto verknpüfen
|
||||
Description: Benuzterkonto verknpüft.
|
||||
|
||||
@@ -325,6 +325,12 @@ LogoutDone:
|
||||
Description: You have logged out successfully.
|
||||
LoginButtonText: Login
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Existing User Found
|
||||
Description: "Do you want to link your existing account:"
|
||||
LinkButtonText: Link
|
||||
OtherButtonText: Other options
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Linking User
|
||||
Description: User linked.
|
||||
|
||||
@@ -325,6 +325,12 @@ LogoutDone:
|
||||
Description: Cerraste la sesión con éxito.
|
||||
LoginButtonText: iniciar sesión
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Usuario existente encontrado
|
||||
Description: "¿Quieres vincular tu cuenta existente?"
|
||||
LinkButtonText: Vincular
|
||||
OtherButtonText: Otras opciones
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Vinculación de usuario
|
||||
Description: usuario vinculado con éxito.
|
||||
|
||||
@@ -325,6 +325,12 @@ LogoutDone:
|
||||
Description: Vous vous êtes déconnecté avec succès.
|
||||
LoginButtonText: connexion
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Utilisateur existant trouvé
|
||||
Description: "Souhaitez-vous associer votre compte existant:"
|
||||
LinkButtonText: Lier
|
||||
OtherButtonText: Autres options
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Userlinking
|
||||
Description: Le lien avec l'utilisateur est terminé.
|
||||
|
||||
@@ -325,6 +325,12 @@ LogoutDone:
|
||||
Description: Ti sei disconnesso con successo.
|
||||
LoginButtonText: Accedi
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Utente esistente trovato
|
||||
Description: "Desideri collegare il tuo account esistente:"
|
||||
LinkButtonText: Collegare
|
||||
OtherButtonText: Altre opzioni
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Collegamento utente
|
||||
Description: Collegamento fatto.
|
||||
|
||||
@@ -317,6 +317,12 @@ LogoutDone:
|
||||
Description: 正常にログアウトしました。
|
||||
LoginButtonText: ログイン
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: 既存のユーザーが見つかりました
|
||||
Description: "既存のアカウントをリンクしますか:"
|
||||
LinkButtonText: リンク
|
||||
OtherButtonText: その他のオプション
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: ユーザーリンク
|
||||
Description: ユーザーリンクが完了しました。
|
||||
|
||||
@@ -325,6 +325,12 @@ LogoutDone:
|
||||
Description: Успешно сте одјавени.
|
||||
LoginButtonText: најава
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Пронајден е постоечки корисник
|
||||
Description: "Дали сакате да ја поврзете вашата постоечка сметка:"
|
||||
LinkButtonText: Bрска
|
||||
OtherButtonText: Други опции
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Поврзување на корисници
|
||||
Description: Поврзувањето на корисници е завршено.
|
||||
|
||||
@@ -325,6 +325,12 @@ LogoutDone:
|
||||
Description: U heeft succesvol uitgelogd.
|
||||
LoginButtonText: Inloggen
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Bestaande gebruiker gevonden
|
||||
Description: "Wilt u uw bestaande account koppelen:"
|
||||
LinkButtonText: Koppeling
|
||||
OtherButtonText: Andere opties
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Koppeling Gebruiker
|
||||
Description: Gebruiker gekoppeld.
|
||||
|
||||
@@ -325,6 +325,12 @@ LogoutDone:
|
||||
Description: Wylogowano pomyślnie.
|
||||
LoginButtonText: Zaloguj się
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Znaleziono istniejącego użytkownika
|
||||
Description: "Czy chcesz połączyć swoje istniejące konto:"
|
||||
LinkButtonText: Połączyć
|
||||
OtherButtonText: Inne opcje
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Łączenie użytkowników
|
||||
Description: Łączenie użytkowników zakończone pomyślnie.
|
||||
|
||||
@@ -321,6 +321,12 @@ LogoutDone:
|
||||
Description: Você fez logout com sucesso.
|
||||
LoginButtonText: login
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Usuário existente encontrado
|
||||
Description: "Deseja vincular sua conta existente:"
|
||||
LinkButtonText: Link
|
||||
OtherButtonText: Outras opções
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Vinculação de usuários
|
||||
Description: Vinculação de usuários concluída.
|
||||
|
||||
@@ -324,6 +324,12 @@ LogoutDone:
|
||||
Description: Вы успешно вышли из системы.
|
||||
LoginButtonText: вход
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: Существующий пользователь найден
|
||||
Description: "Хотите ли вы связать существующую учетную запись:"
|
||||
LinkButtonText: Связь
|
||||
OtherButtonText: Другие варианты
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: Привязка пользователя
|
||||
Description: Привязка пользователя выполнена.
|
||||
|
||||
@@ -325,6 +325,12 @@ LogoutDone:
|
||||
Description: 您已成功退出登录。
|
||||
LoginButtonText: 登录
|
||||
|
||||
LinkingUserPrompt:
|
||||
Title: 已找到现有用户
|
||||
Description: "您想关联您现有的帐户吗:"
|
||||
LinkButtonText: 关联
|
||||
OtherButtonText: 其他选项
|
||||
|
||||
LinkingUsersDone:
|
||||
Title: 用户链接
|
||||
Description: 用户链接完成。
|
||||
|
||||
37
internal/api/ui/login/static/templates/link_user_prompt.html
Normal file
37
internal/api/ui/login/static/templates/link_user_prompt.html
Normal file
@@ -0,0 +1,37 @@
|
||||
{{template "main-top" .}}
|
||||
|
||||
<div class="lgn-head">
|
||||
<h1>{{t "LinkingUserPrompt.Title"}}</h1>
|
||||
<p>
|
||||
{{t "LinkingUserPrompt.Description"}}<br>
|
||||
{{.Username}}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<form action="{{ linkingUserPromptUrl }}" method="POST">
|
||||
|
||||
{{ .CSRF }}
|
||||
|
||||
<input type="hidden" name="authRequestID" value="{{ .AuthReqID }}" />
|
||||
<input type="hidden" name="userID" value="{{ .UserID }}" />
|
||||
|
||||
{{template "error-message" .}}
|
||||
|
||||
<div class="lgn-actions lgn-reverse-order">
|
||||
<a class="lgn-icon-button lgn-left-action" id="back-button" href="#">
|
||||
<i class="lgn-icon-arrow-left-solid"></i>
|
||||
</a>
|
||||
<button class="lgn-raised-button lgn-primary lgn-initial-focus" id="submit-button" type="submit">{{t "LinkingUserPrompt.LinkButtonText"}}</button>
|
||||
<span class="fill-space"></span>
|
||||
<button class="lgn-stroked-button" name="other" value="true">{{t "LinkingUserPrompt.OtherButtonText"}}</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<script src="{{ resourceUrl "scripts/form_submit.js" }}"></script>
|
||||
<script src="{{ resourceUrl "scripts/default_form_validation.js" }}"></script>
|
||||
<script src="{{ resourceUrl "scripts/input_suffix_offset.js" }}"></script>
|
||||
<script src="{{ resourceUrl "scripts/go_back.js" }}"></script>
|
||||
|
||||
{{template "main-bottom" .}}
|
||||
Reference in New Issue
Block a user