How to map (open)ldap attribute to user attributes > forward this attrs to JWT?

hello,in our situation, we have to be able to read specific ldap attributes and provide JWtoken where this attributes will be hashed. We have our own openldap with this specific attributes, but i’m not able to map it to client. Please, if someone know, could you advice?

You need a “client scope”.

  1. create a client scope, and then create protocol mapper.
  2. add this client scope to your client.
1 Like

You can create mapper directly on the client level. You don’t need to create scope. Scope can be usefull if the mapper should be configured for multiple clients.

thanks, but it didn\t help. i did it same as you and in token, i have just field scope and attribute (witch i need) is in this field without value - just its name



Snímek obrazovky 2021-10-21 150953