Shibboleth IdP 5.2.3: Attribute Consent Records Are Not Persisted Across Sessions
板東 孝文
bandou.takafumi at tokushima-u.ac.jp
Fri Nov 20 06:03:51 UTC 2026
Hello,
We are running Shibboleth IdP 5.2.3 and have encountered an issue where previously granted attribute release consent is not retained.
Users are prompted to consent again when logging in the following day(In some cases, at a later time).
I would appreciate any insights from those who have experienced similar issues or have suggestions on possible causes and troubleshooting approaches.
[Environment]
- IdP: Shibboleth IdP 5.2.3
- User: myuserid
- SP: https://portal.example.ac.jp/shibboleth-sp
[Problem Description]
For the same user and SP, consent records were successfully retrieved during a login on the previous day, but could not be retrieved the following day.
- November 19, 18:01: Previously stored consent was successfully retrieved.
- November 20, 09:49: Consent lookup returned null.
- November 20, 09:57: Another lookup also returned null.
[Log Observations]
On November 19, the stored record was successfully retrieved using the following key:
myuserid:https://portal.example.ac.jp/shibboleth-sp
On November 20, however, the lookup using the same key returned null:
Read storage record 'null'
context intercept/attribute-release
key myuserid:https://portal.example.ac.jp/shibboleth-sp
no storage record exact key
The fallback lookup using the principal-only key also returned null:
Read storage record 'null'
context intercept/attribute-release
key myuserid
no storage record fallback principal
LDAP authentication and principal resolution are successful. We have also confirmed that the lookup key is identical on both days.
[Browser-Side Observations]
The user is accessing the IdP from the same PC and the same Chrome profile.
We checked Local Storage in the browser's developer tools and confirmed that the following values were identical on both days:
- shib_idp_persistent_ss
- shib_idp_session_ss
The browser was completely closed and restarted overnight, but the Local Storage data remained intact.
The same issue also occurs when idp.storage.htmlLocalStorage=false is configured.
[IdP Configuration]
idp.storage.htmlLocalStorage=true
idp.session.StorageService = shibboleth.ClientSessionStorageService
idp.consent.StorageService = shibboleth.ClientPersistentStorageService
We have not explicitly configured the consent user storage key, maximum number of stored records, or record lifetime. The default settings are used.
[Additional Observations]
- No changes to the DataSealer files (sealer.jks or sealer.kver) were observed around the time of the incident.
- The same issue occurs with the cookie-based storage configuration.
- We have not yet determined whether the consent records themselves are being lost or whether the stored data is failing to be read.
[Questions]
1. Has anyone encountered a similar issue where previously stored consent records become unavailable on the following day, with the storage lookup returning null? Are there any known causes?
2. Under what circumstances can records stored by ClientPersistentStorageService be lost or become inaccessible? Are there any specific logs or configuration settings we should investigate?
3. If the issue is related to DataSealer or client-side storage processing, what troubleshooting methods would you recommend to help isolate the cause?
Any suggestions or insights would be greatly appreciated.
Thank you.
----------------------------------------------------------------
Takafumi Bando
More information about the users
mailing list