cosmocode / dokuwiki-plugin-oauth

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

Add role checking to Keycloak #97

Closed Tomatower closed 2 years ago

Tomatower commented 4 years ago

In my setup I needed to check, if a user has a specific role to be allowed to log in, so I added a config option keycloak-required-role which has to be in the roles-claim sent in the user token information.

TheLoxe commented 3 years ago

@splitbrain Are you able to review and merge this sometime soon? It is still needed and currently a custom patch. Thanks!

splitbrain commented 2 years ago

Sorry for the long delay. Please see #111 for the reasons and how to implement new services in the future.