BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
14.37k stars 1.82k forks source link

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

Open danicc097 opened 1 year ago

danicc097 commented 1 year ago

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

ssddanbrown commented 1 year ago

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.

Misaka-L commented 1 week ago

@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?

ssddanbrown commented 1 week ago

@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.