cosmocode / dokuwiki-plugin-oauth

Generic oAuth1 and oAuth2 plugin for DokuWiki
http://www.dokuwiki.org/plugin:oauth
30 stars 78 forks source link

Inhibit profile changes/override from OAuth always #152

Open qsuscs opened 2 weeks ago

qsuscs commented 2 weeks ago

Feature Description

We are trying to switch from direct LDAP/AD auth to OAuth/OIDC via Keycloak. The former allowed us to disable changing one’s profile information (which would get overridden from AD anyway), including password. I would like to have the same functionality here.

From a quick glance at the code, it does not seem too complicated and I might end up dropping a patch, but I’m not experienced with PHP.

splitbrain commented 1 week ago

couple of things:

So I guess an option to prevent users from editing their real name could be introduced. We would also need to update it on reauthentication.