How to get username in $inbound
Good day to all.
We are using OSB 12c (12.2.1.2.0) and you have protected SOAP/REST services using the oracle/http_oam_token_service_policy.
Using curl -H "OAM_REMOTE_USER:user1" <service_url> for instance to call one of our REST services, even thought we are getting thought to the right pipeline, an inspection on $inbound/ctx:security/ctx:transportClient/ctx:username reveals that is not populated with user1. It instead has the value of anonymous.
We have also tried the above scenario using a web browser, ie Chome, and while we are enforced by OAM to logon, we are still not getting the username.