fiware-pep-proxy
fiware-pep-proxy copied to clipboard
Testing Proxy as per readme.md gives an unexpected response
Hi All I am facing issue in this command curl --header "X-Auth-Token:z2zXk...ANOXvZrmvxvSg" http://proxy_host. I am confused what proxy_host means here .
I tried with curl --header "X-Auth-Token:<oauth2_token>" http://pep-proxy-ip:port-no and received response as "User Token not authorized".
But from here "https://github.com/ging/fiware-pep-proxy" curl --header "X-Auth-Token:z2zXk...ANOXvZrmvxvSg" http://proxy_host it gives result as
"Once authenticated, the forwarded request will include additional HTTP headers with user info:
X-Nick-Name: nickname of the user in IdM X-Display-Name: display name of user in IdM X-Roles: roles of the user in IdM X-Organizations: organizations in IdM "
How can i get the above result from this command curl --header "X-Auth-Token:z2zXk...ANOXvZrmvxvSg" http://proxy_host