Tweak on identity.xml
<!-- Claim to store localization code -->
<!-- By setting true localization code will be stored inside the http://wso2.org/claims/locality-->
<!-- By setting false localization code will be stored inside the http://wso2.org/claims/local-->
- {% if use_legacy_localization_claim is defined %}
- <UseLegacyLocalizationClaim>{{use_legacy_localization_claim}}</UseLegacyLocalizationClaim>
+ {% if claims is defined && claims.use_legacy_localization_claim is defined %}
+ <UseLegacyLocalizationClaim>{{claims.use_legacy_localization_claim}}</UseLegacyLocalizationClaim>
{% else %}
<UseLegacyLocalizationClaim>false</UseLegacyLocalizationClaim>
{% endif %}
