diff --git a/src/identity-server/messages/core/en/authenticator/bankid/launch.properties b/src/identity-server/messages/core/en/authenticator/bankid/launch.properties index c13d262f..df501507 100644 --- a/src/identity-server/messages/core/en/authenticator/bankid/launch.properties +++ b/src/identity-server/messages/core/en/authenticator/bankid/launch.properties @@ -39,6 +39,8 @@ launch.view.or=OR launch.view.scan=Scan the code in BankID security app launch.view.button.this-device=Start your BankID app on this device launch.view.button.manualstart=Start your BankID app +launch.view.button.show-qr-code=Show QR code +launch.view.button.open-on-this-device=Open BankID on this device launch.view.button.cancel=Cancel launch.view.button.continue=Continue launch.validation.error.autostarttoken.required=Missing input. Retry the request diff --git a/src/identity-server/messages/core/pt-pt/authenticator/bankid/launch.properties b/src/identity-server/messages/core/pt-pt/authenticator/bankid/launch.properties index 3ebf32fe..df7a02d9 100644 --- a/src/identity-server/messages/core/pt-pt/authenticator/bankid/launch.properties +++ b/src/identity-server/messages/core/pt-pt/authenticator/bankid/launch.properties @@ -39,6 +39,8 @@ launch.view.or=OU launch.view.scan=Digitalize o código no aplicativo de segurança BankID launch.view.button.this-device=Iniciar o aplicativo de segurança BankID neste dispositivo launch.view.button.manualstart=Iniciar o aplicativo de segurança BankID +launch.view.button.show-qr-code=Mostrar código QR +launch.view.button.open-on-this-device=Abrir BankID neste dispositivo launch.view.button.cancel=Cancelar launch.validation.error.autostarttoken.required=Entrada ausente. Tente novamente a solicitação launch.view.poll.continue=Se você não for redirecionado automaticamente, clique aqui para continuar autenticando diff --git a/src/identity-server/messages/core/pt/authenticator/bankid/launch.properties b/src/identity-server/messages/core/pt/authenticator/bankid/launch.properties index 06d5529b..762f81aa 100644 --- a/src/identity-server/messages/core/pt/authenticator/bankid/launch.properties +++ b/src/identity-server/messages/core/pt/authenticator/bankid/launch.properties @@ -39,6 +39,8 @@ launch.view.or=OU launch.view.scan=Digitalize o código no aplicativo de segurança BankID launch.view.button.this-device=Iniciar o aplicativo de segurança BankID neste dispositivo launch.view.button.manualstart=Iniciar o aplicativo de segurança BankID +launch.view.button.show-qr-code=Mostrar código QR +launch.view.button.open-on-this-device=Abrir BankID neste dispositivo launch.view.button.cancel=Cancelar launch.validation.error.autostarttoken.required=Entrada ausente. Tente novamente a solicitação launch.view.poll.continue=Se você não for redirecionado automaticamente, clique aqui para continuar autenticando diff --git a/src/identity-server/messages/core/sv/authenticator/bankid/launch.properties b/src/identity-server/messages/core/sv/authenticator/bankid/launch.properties index 9183f786..de829f5b 100644 --- a/src/identity-server/messages/core/sv/authenticator/bankid/launch.properties +++ b/src/identity-server/messages/core/sv/authenticator/bankid/launch.properties @@ -39,6 +39,8 @@ launch.view.qr.screen-reader.step4.2=Använda kortkommandon launch.view.qr.screen-reader.step4.2.1=Windows: Ctrl+Pil upp launch.view.qr.screen-reader.step4.2.2=Mac: Ctrl+Cmd+F launch.view.qr.screen-reader.outro=Hålla telefonen i stående läge på ett 40cm avstånd från skärmen när du skannar QR-koden. +launch.view.button.show-qr-code=Visa QR-kod +launch.view.button.open-on-this-device=Öppna BankID på den här enheten launch.view.button.cancel=Avbryt launch.view.button.continue=Fortsätt launch.validation.error.autostarttoken.required=Saknar input. Försök igen diff --git a/src/identity-server/templates/core/authenticator/bankid/enter-personalnumber/compute-browser-context.vm b/src/identity-server/templates/core/authenticator/bankid/enter-personalnumber/compute-browser-context.vm new file mode 100644 index 00000000..13278c10 --- /dev/null +++ b/src/identity-server/templates/core/authenticator/bankid/enter-personalnumber/compute-browser-context.vm @@ -0,0 +1,27 @@ +#* + * Copyright (C) 2025 Curity AB. All rights reserved. + * + * The contents of this file are the property of Curity AB. + * You may not copy or use this file, in either source code + * or executable form, except in compliance with terms + * set by Curity AB. + * + * For further information, please contact Curity AB. + *### + +## redirect to the same URL +#set ($_callbackUrl = "") +## using a GET +#set ($_callbackMethod = "get") +#define($_formContent) + ## providing 'navigator.maxTouchPoints' in the 'nmtp' query-string variable + + + + ## just to ensure the query-string is not empty and we do not endup on an infinit loop + +#end +#parse("layouts/redirect") diff --git a/src/identity-server/templates/core/authenticator/bankid/launch/index.vm b/src/identity-server/templates/core/authenticator/bankid/launch/index.vm index 71c8ef0a..b136a43f 100644 --- a/src/identity-server/templates/core/authenticator/bankid/launch/index.vm +++ b/src/identity-server/templates/core/authenticator/bankid/launch/index.vm @@ -35,6 +35,11 @@ #else #set($qr_time_left = $_maxWaitTime / 60) #end +#if($_flowMode == 'cross-device' || $_flowMode == 'same-device') + #set($extendUrl="${_authUrl}?flowMode=$_flowMode") +#else + #set($extendUrl=$_authUrl) +#end #set($qr_time_elapsed = 0)

#message("${_templatePrefix}.page.title")

@@ -52,7 +57,7 @@ = 60) class="hide"#end>#message("${_templatePrefix}.view.qr.seconds-left")

- + #message("${_templatePrefix}.view.button.qr-time-extend")
@@ -92,30 +97,32 @@

#message("${_templatePrefix}.view.qr.screen-reader.outro")

+ #end + #if($_autostartTokenDataUri && $_autostartToken)

#message("${_templatePrefix}.view.or")

+ #end + #if($_autostartToken) - - #else -
-

#message("${_templatePrefix}.view.title")

- #parse("fragments/spinner") -
- - - #end