Skip to content

CRUD access control #982

Discussion options

You must be logged in to vote

This is indeed work in progress, there will be an overhaul of the functionality and documentation for v3.5 (#717).

But the basic functionality can be used already, here is an example with Keycloak:

cfg.yml

auth:
  userInfoEndpoint: http://your.keycloak/realms/your.realm/protocol/openid-connect/userinfo
  userNameKey: preferred_username

service.yml (this is actually the default)

accessControl:
  enabled: true
  publicScopes:
  - read

You then need to get a token from Keycloak for a user with the role write and pass it to ldproxy either via Authorization: Bearer header or via access_token parameter.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by inurjaeyevi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants