OSC/keycloak-theme

Using Federated login outside CILogon causes issues

Closed this issue · 0 comments

Error I got when trying to log in with InCommon federated login which pulls data from InCommon federation like CILogon:

2019-11-27 12:10:24,901 ERROR [freemarker.runtime] (default task-2478) Error executing FreeMarker template: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> client  [in template "template.ftl" at line 39, column 98]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
        - Failed at: #if realm.password && social.provider...  [in template "template.ftl" in macro "registrationLayout" at line 39, column 1]
        - Reached through: @layout.registrationLayout displayMes...  [in template "error.ftl" at line 2, column 1]
----