By: Arthur Barrett user 12 Jun 2021 at 7:23 a.m. CDT

2 Responses
Arthur Barrett gravatar
I can login to CASA in a default install OK. I assume I'm using CASA 4.2, but version 4.1 is the highest available in this bug report screen... I can't see any easy way to confirm which I have installed... I then follow these instructions to change the login from uid to mail: Now CASA login fails. In the oath logs I see something like 'incorrect username' (sorry, failed to save that message...) If I use email address in place of uid, it still fails and same message. In OXD I see 'person authentication scripts' and one for CASA which does seem to try and find the primary key: ``` def getLocalPrimaryKey(self): entryManager = CdiUtil.bean(PersistenceEntryManager) config = GluuConfiguration() config = entryManager.find(config.getClass(), "ou=configuration,o=gluu") #Pick (one) attribute where user id is stored (e.g. uid/mail) uid_attr = config.getOxIDPAuthentication().get(0).getConfig().getPrimaryKey() print "Casa. init. uid attribute is '%s'" % uid_attr return uid_attr ``` I do not see the message "Casa. init. uid attribute is " appearing in the casa logs though to confirm that. Any hints as to how to 'fix' this? I did find this reference to a client reset for CASA, and I wondered if maybe that was necessary after changing from uid to mail? Any help appreciated, thanks!

By Arthur Barrett user 12 Jun 2021 at 8:33 p.m. CDT

Arthur Barrett gravatar
OK - I found this other support post: In oxTrust go to “manage authentication” the “manage ldap authentication” tab and press activate. Pressing ‘activate’ fixed the CASA login. It now logs in OK with email and password! Yay! But I now can’t login to oxTrust :( I’ve put a comment on that post with the details of my current error…

By Arthur Barrett user 13 Jun 2021 at 5:35 a.m. CDT

Arthur Barrett gravatar
I've got both oxTrust and CASA successfully logging in using email address instead of username! YAY! How? All the details here: