Ola,
here is the contents of /opt/gluu/jetty/casa/logs/casa.log:
```
16-05 20:36:49.234 INFO [main] casa.core.filter.LocaleInterceptor LocaleInterceptor.java:29- Locale filter initialized
16-05 20:36:49.635 INFO [main] gluu.casa.core.ZKService ZKService.java:57- ZK initialized
16-05 20:36:49.840 INFO [main] gluu.casa.core.ConfigurationHandler ConfigurationHandler.java:84- ConfigurationHandler inited
16-05 20:36:50.206 INFO [main] gluu.casa.conf.MainSettingsProducer MainSettingsProducer.java:60- init. Obtaining global settings
16-05 20:36:50.220 INFO [main] gluu.casa.conf.MainSettingsProducer MainSettingsProducer.java:63- init. Gluu base inferred was /etc/gluu
16-05 20:36:50.483 INFO [main] gluu.casa.core.LogService LogService.java:97- Using TRACE for log level
16-05 20:36:51.657 INFO [main] gluu.casa.core.LdapService LdapService.java:95- LDAPService was initialized successfully
16-05 20:36:51.665 INFO [main] gluu.casa.core.ZKService ZKService.java:92- Loading application labels
16-05 20:36:51.666 TRACE [main] gluu.casa.core.ZKService ZKService.java:107- War labels base is file:/opt/jetty-9.4/temp/jetty-localhost-8091-casa.war-_casa-any-5791662628236963088.dir/webapp/WEB-INF/classes/labels/
16-05 20:36:51.666 INFO [main] gluu.casa.core.ZKService ZKService.java:117- War resource bundles are: [general, admin, user]
16-05 20:36:51.684 DEBUG [main] gluu.casa.core.ZKService ZKService.java:143- Locales supported are: []
16-05 20:36:51.685 INFO [main] gluu.casa.core.ZKService ZKService.java:151- Labels registered
16-05 20:36:51.710 INFO [main] gluu.casa.misc.CssRulesResolver CssRulesResolver.java:35- CssRules ZK VariableResolver initialized successfully
16-05 20:36:52.500 INFO [main] casa.core.filter.CorsFilter CorsFilter.java:39- CORS filter initialized
16-05 20:36:57.213 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:311- Found system extension 'org.gluu.casa.plugins.authnmethod.OTPSmsExtension' for twilio_sms
16-05 20:36:57.231 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:311- Found system extension 'org.gluu.casa.plugins.authnmethod.SuperGluuExtension' for super_gluu
16-05 20:36:57.231 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:311- Found system extension 'org.gluu.casa.plugins.authnmethod.SecurityKeyExtension' for u2f
16-05 20:36:57.231 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:311- Found system extension 'org.gluu.casa.plugins.authnmethod.OTPExtension' for otp
16-05 20:36:57.232 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:94- Loading external plugins...
16-05 20:36:57.291 DEBUG [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:223- Loaded plugin custom-branding, now in state RESOLVED
16-05 20:36:57.299 DEBUG [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:223- Loaded plugin strong-authn-settings, now in state RESOLVED
16-05 20:36:57.299 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:107- Total plugins loaded 2
16-05 20:36:57.302 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:283- Plugin custom-branding started
16-05 20:36:57.303 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:345- Extracting resources for plugin custom-branding to /opt/jetty-9.4/temp/jetty-localhost-8091-casa.war-_casa-any-579166262823
6963088.dir/webapp/pl/custom-branding
16-05 20:36:57.309 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/
16-05 20:36:57.309 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/admin/
16-05 20:36:57.310 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/admin/index.zul
16-05 20:36:57.310 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/admin/menu.zul
16-05 20:36:57.311 INFO [casaScheduler_Worker-1] gluu.casa.core.ZKService ZKService.java:161- Registering labels of plugin custom-branding
16-05 20:36:57.336 INFO [casaScheduler_Worker-1] gluu.casa.core.RSRegistryHandler RSRegistryHandler.java:84- RestEasy registry is accessible. Addition of REST services at runtime will be available
16-05 20:36:57.339 INFO [casaScheduler_Worker-1] gluu.casa.core.RSRegistryHandler RSRegistryHandler.java:205- 0 RestEasy resource class(es) registered
16-05 20:36:57.363 INFO [casaScheduler_Worker-1] gluu.casa.core.LogService LogService.java:68- Adding logger for org.gluu.casa.plugins
16-05 20:36:57.363 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:124- Plugin custom-branding (org.gluu.casa.plugins.branding.CustomBrandingPlugin) started
16-05 20:36:57.364 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:128- Plugin's extensions are at: [org.gluu.casa.plugins.branding.CustomBrandingMenu]
16-05 20:36:57.364 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:131-
16-05 20:36:57.365 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:283- Plugin strong-authn-settings started
16-05 20:36:57.368 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:345- Extracting resources for plugin strong-authn-settings to /opt/jetty-9.4/temp/jetty-localhost-8091-casa.war-_casa-any-579166
2628236963088.dir/webapp/pl/strong-authn-settings
16-05 20:36:57.368 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/
16-05 20:36:57.368 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/admin/
16-05 20:36:57.369 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/admin/menu.zul
16-05 20:36:57.369 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/admin/strongauth.zul
16-05 20:36:57.369 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/index.zul
16-05 20:36:57.370 TRACE [casaScheduler_Worker-1] gluu.casa.core.ResourceExtractor ResourceExtractor.java:112- Extracting assets/policy.zul
16-05 20:36:57.370 INFO [casaScheduler_Worker-1] gluu.casa.core.ZKService ZKService.java:161- Registering labels of plugin strong-authn-settings
16-05 20:36:57.371 INFO [casaScheduler_Worker-1] gluu.casa.core.RSRegistryHandler RSRegistryHandler.java:205- 0 RestEasy resource class(es) registered
16-05 20:36:57.371 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:124- Plugin strong-authn-settings (org.gluu.casa.plugins.strongauthn.StrongAuthnSettingsPlugin) started
16-05 20:36:57.372 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:128- Plugin's extensions are at: [org.gluu.casa.plugins.strongauthn.StrongAuthnSettingsFragment, org.gluu.casa.plugins.strongaut
hn.StrongAuthnSettingsMenu]
16-05 20:36:57.372 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:131-
16-05 20:36:57.372 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:139- Total plugins started: 2
16-05 20:36:57.372 INFO [casaScheduler_Worker-1] gluu.casa.core.ZKService ZKService.java:182- Refreshing labels
16-05 20:36:57.457 INFO [casaScheduler_Worker-1] gluu.casa.core.ConfigurationHandler ConfigurationHandler.java:161- === WEBAPP INITIALIZED SUCCESSFULLY ===
16-05 20:36:58.528 TRACE [casaScheduler_Worker-2] gluu.casa.core.LdapService LdapService.java:272- modify. Operation result was 'success'
16-05 20:37:19.502 INFO [qtp1254526270-16] casa.core.filter.LocaleInterceptor LocaleInterceptor.java:54- Locale for this session will be 'en'
16-05 20:37:20.001 DEBUG [qtp1254526270-16] casa.core.navigation.HomeInitiator HomeInitiator.java:103- Starting authorization flow
16-05 20:37:20.195 DEBUG [qtp1254526270-16] gluu.casa.misc.WebUtils WebUtils.java:95- Redirecting to URL=https://sso.example.com/oxauth/restv1/authorize?response_type=code&client_id=@!FCBB.2A20.2C7C.87DB!0001!D925.D236!0008!2A11.20FC.6D
0B.CF8D&redirect_uri=https://sso.example.com/casa&scope=openid+profile+user_name+clientinfo&state=pshgvq0o2kuk9fdsl4dndk8q2j&nonce=nm6of3gc3f8sg3k4qhnm03fj9f&acr_values=casa
16-05 20:37:27.147 DEBUG [qtp1254526270-9] casa.core.navigation.HomeInitiator HomeInitiator.java:70- Authorization code=efd4e107-62a6-4568-9670-87d1d17dad8c, Access token=c8a818be-1fb4-48f9-a314-fb0fefc869ee, Id token eyJraWQiOiI4MGE1
ZTFhZS02YjhjLTRkYjgtODQwMi1mYjljMDA1NzE1NWMiLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3Nzby5maXJzdC5vcmciLCJhdWQiOiJAIUZDQkIuMkEyMC4yQzdDLjg3REIhMDAwMSFEOTI1LkQyMzYhMDAwOCEyQTExLjIwRkMuNkQwQi5DRjhEIiwiZXhwIjoxNTU4MDM1N
DQ3LCJpYXQiOjE1NTgwMzE4NDcsImFjciI6ImNhc2EiLCJhbXIiOlsiMSJdLCJub25jZSI6Im5tNm9mM2djM2Y4c2czazRxaG5tMDNmajlmIiwiYXV0aF90aW1lIjoxNTU4MDMxODQ1LCJhdF9oYXNoIjoiWGZUMVVRb1ZPTzJmVjFJVjlkTXpodyIsIm94T3BlbklEQ29ubmVjdFZlcnNpb24iOiJvcGVuaWRjb25
uZWN0LTEuMCIsInN1YiI6IkpvSk1XbzZZNWpQWldKbjdEYTJoZzNWM2ZQS0hGZkZtUmNZN3ZNaTR5TDAifQ.sGbF7zJdyzVsPGdb0HvVnTjLm9dhVJiGI-6Y3N5MFPQxOtBqMz8C45U5E8s48HVTSsqe0ZQz53x01wx8Zxi1lSjvn9ZInIxrdqyhEcO9tyV-GlSXvgs9qPkAhMnUV3IhXqICpsz2oYaOWh_9M_SIUm
UmXRw3xGf0Ck7M9dkBepBusBGttwICJHTG5eujPOhTkpcN7nnQFp9DJh-V3Xa2HitfVPVNqF0RMukJ9GCUBJD3vZwDpRLfhuuizCKwraB3JnOhCgi7Al0iCJycZlatqq3cWjTK5LfGCFhdTQwJiVArj0ZrRrBlWOLYRBoNkx1u5xbsfunGu-X-_5RPf6W2vQ
16-05 20:37:27.237 TRACE [qtp1254526270-9] gluu.casa.core.UserService UserService.java:61- Creating a user instance from claims. Username is 18300256
16-05 20:37:27.256 DEBUG [qtp1254526270-9] casa.core.navigation.HomeInitiator HomeInitiator.java:74- Adding user to session
16-05 20:37:29.794 TRACE [qtp1254526270-10] casa.ui.vm.HomeViewModel HomeViewModel.java:56- Browser data is {"description":"Firefox 68.0 on Linux 64-bit","layout":"Gecko","manufacturer":null,"name":"Firefox","prerelease":null,"product
":null,"ua":null,"version":"68.0","os":{"architecture":64,"family":"Linux","version":null},"offset":-10800,"screenWidth":1920}
16-05 20:37:29.795 TRACE [qtp1254526270-10] casa.ui.vm.HomeViewModel HomeViewModel.java:78- Time offset for session is -03:00
16-05 20:37:29.795 TRACE [qtp1254526270-10] casa.ui.vm.HomeViewModel HomeViewModel.java:62- Detected browser is not mobile
16-05 20:37:30.297 DEBUG [qtp1254526270-14] casa.core.navigation.HomeInitiator HomeInitiator.java:85- Taking user to homepage...
16-05 20:37:30.298 DEBUG [qtp1254526270-14] gluu.casa.misc.WebUtils WebUtils.java:95- Redirecting to URL=user.zul
```
And this is the content of **/etc/gluu/conf/casa.json**:
```
{
"enable_pass_reset" : true,
"use_branding" : false,
"log_level" : "TRACE",
"min_creds_2FA" : 2,
"ldap_settings" : {
"salt" : "/etc/gluu/conf/salt",
"ox-ldap_location" : "/etc/gluu/conf/ox-ldap.properties"
},
"policy_2fa" : [ "EVERY_LOGIN" ],
"acr_plugin_mapping" : {
"otp" : null
},
"plugins" : [ {
"id" : "custom-branding",
"relativePath" : "custom-branding-3.1.6.Final_.jar",
"state" : "STARTED"
}, {
"id" : "strong-authn-settings",
"relativePath" : "strong-authn-settings-3.1.6.Final_.jar",
"state" : "STARTED"
} ],
"extra_css" : ".cust-header{ background-color : #ffffff; }\n.cust-footer-rule{ content: 'FIRST.Org, Inc. SSO ?; }\n",
"oxd_config" : {
"host" : "localhost",
"port" : 8099,
"authz_redirect_uri" : "https://sso.example.com/casa",
"post_logout_uri" : "https://sso.example.com/casa/bye.zul",
"frontchannel_logout_uri" : "https://sso.example.com/casa/autologout",
"use_https_extension" : false,
"client" : {
"oxdId" : "cdf54392-58f5-4c0c-90e1-7d0d1cca548c",
"clientName" : "gluu-casa_1557880127"
}
}
}
```
I thought the issue was with the cn/uid mapping, and changing the user_name claim and the LDAP authentication keys between cn/uid still prevented the display of the 2FA options.
![screnshot](https://tecnodz.com/gluu-blank.png)
The only error/warning I get in the logs is this line in the oxauth.log:
```
2019-05-16 20:48:39,307 ERROR [qtp1094834071-23933] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:608) - Failed to get attributes from session
```
Best regards,
Guilherme Capilé