Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating "thumbnailPhoto" on LDAP/AD does not get reflected in Bookstack after login #5066

Open
BloodyIron opened this issue Jun 13, 2024 · 0 comments
Labels

Comments

@BloodyIron
Copy link

Describe the Bug

I'm integrating my Bookstack instance with Active Directory, and I'm using the attribute "thumbnailPhoto" for the Environment Variable "LDAP_THUMBNAIL_ATTRIBUTE".

When the user is initially provisioned, by logging in, the account's "User Avatar" is successfully populated from "thumbnailPhoto" from the AD/LDAP domain.

However, once the account is provisioned, the authentication ecosystem seems to never check if this attribute has changed on the user. When I change the contents of this attribute for a user that is already provisioned in Bookstack via AD/LDAP, those changes are not reflected automatically, even after multiple log-outs and log-ins.

Steps to Reproduce

  1. Login with LDAP/AD user that already has contents for "thumbnailPhoto", but this user has not logged into Bookstack before.
  2. Confirm the user has received the correct "thubmnailPhoto" contents for their Bookstack account (use your eyeballs).
  3. Change the contents of "thumbnailPhoto" for this account in AD.
  4. Logout/login multiple times, observing the "User Avatar" does not change.
  5. Proceed to github repo to report bug.

Expected Behaviour

If the thumbnailPhoto has changed on the AD/LDAP side, this should be reflected upon next login of said user into Bookstack.

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v24.05.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant