User Context Endpoint: Can it transfer custom information? #331
-
|
Hi all, I am using an lldap with tinyauth and would like to receive additional information from the login call such as a custom attribute or the groups the user is in. Can the /api/user call be configured such that it returns custom attributes or the users group membership or will I have to do an extra call to the lldap for that purpose? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hello, The |
Beta Was this translation helpful? Give feedback.
Hello,
The
/api/user(now/api/context/user) is meant to be used by the frontend to receive the necessary user information. It is not intended to be used by external services since it provides only the information the frontend needs. If you need additional attributes it would be better to call the LLDAP API directly.