By: manjunath Manjunath user 03 Jan 2020 at 7:12 a.m. CST

1 Response
manjunath Manjunath gravatar
Regarding Custom scopes in JWT token we need some of the custom claims with below format along with standard claims "userrole": [ "1" ] (json array) "customclaim1" : "value1", (string) "customclaim2" : 1233 (integer) Could you please let us know how to configure the same

By Michael Schwartz staff 09 Jan 2020 at 11:39 p.m. CST

Michael Schwartz gravatar
See the [Custom Attributes](https://gluu.org/docs/ce/4.0/admin-guide/attribute/#custom-attributes) section of the documentation. 1. Add attribute to LDAP schema 2. Add this attribute to LDAP objectclass 3. Register Attribute in oxTrust 4. Create a custom scope 5. Add Attribute to custom scope 6. Release scope to OpenID Client