Inject User Info into the Session Object

I was wondering if there is a way to include the user details and custom fields in the session object during a OAuth client_credentials flows. I would like to add a custom header from the users custom fields with a JS Middleware.

I can successful inject the oauth_client_id as a custom header, but would like to get some additional information from the user as well.


Hi Steve

Can you clarify what you mean by user in this context?