keywind icon indicating copy to clipboard operation
keywind copied to clipboard

Template error

Open waynemorphic opened this issue 1 year ago • 0 comments

I am extending this Keywind repository by adding Web Authn Passkeys Conditional feature already available in Keycloak. However, I am coming across this error from webauthn-register.ftl template after setting up Passkey Authentication with Conditional UI in my Keycloak admin console.

Caused by: freemarker.core.NonStringOrTemplateOutputException: For "${...}" content: Expected a string or something automatically convertible to string (number, date or boolean), or "template output" , but this has evaluated to a sequence (wrapper: f.t.SimpleSequence):

2024-07-15 14:46:46 ==> signatureAlgorithms  [in template "webauthn-register.ftl" at line 49, column 31]
2024-07-15 14:46:46 
2024-07-15 14:46:46 ----
2024-07-15 14:46:46 FTL stack trace ("~" means nesting-related):
2024-07-15 14:46:46     - Failed at: ${signatureAlgorithms}  [in template "webauthn-register.ftl" at line 49, column 29]

Any help on why this is happening will be helpful. Thank you

Keycloak reference

waynemorphic avatar Jul 15 '24 12:07 waynemorphic