BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

Support updating of user details upon OIDC/SAML2/LDAP Login

Open danicc097 opened this issue 3 years ago • 3 comments

Describe the Bug

When user info is changed in the identity provider, changes are not reflected in the bookstack database. Only groups are synced at the moment AFAICT:

https://github.com/BookStackApp/BookStack/blob/a090720241ed3a0471a4dc9860b9f7cf8837f562/app/Auth/Access/Oidc/OidcService.php#L250-L265

Steps to Reproduce

  1. Register a new user in the IDP.
  2. Login in Bookstack
  3. Update the user in the IDP
  4. Logout of Bookstack, clear cache and log and back in
  5. Changes not reflected

Expected Behaviour

I'd expect changes from the IDP to be reflected automatically

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

22.09

PHP Version

No response

Hosting Environment

Ubuntu 20.04, docker image

danicc097 avatar Oct 08 '22 11:10 danicc097

Yeah, this is the case with all external auth options. I'm gonna re-categorise this as a feature request since it's not specifically a bug in existing supported functionality.

ssddanbrown avatar Oct 08 '22 11:10 ssddanbrown

@ssddanbrown Sorry to disturb, but this issue has been hanging on for 2 years and I want to ask if there is any progress on it?

Misaka-L avatar Jul 06 '24 13:07 Misaka-L

@Misaka-L No, as above I see this as a feature request rather than an issue, so I'm not really aiming to address but more awaiting to validate as a need to justify the added desired complexity, for which there has been very little demand so far.

ssddanbrown avatar Jul 06 '24 14:07 ssddanbrown