I am trying to do the authentication by my company`s authenticiation server, therefore I set the st2.config file to make the authenticaition mode from standalone to the proxy mode.
However, when I used the api to get the token, I always received the error that claimed “Invalid or missing credentials”.
curl -X POST -k https://100.112.136.139/auth/v1/tokens -u ‘elk’ -H ‘Cache-Control: no-cache’ -H ‘Postman-Token: ee4b60a5-17a9-4f39-9838-e3015eef8f48’ -H ‘remote_addr: 10.145.209.47’ -H ‘remote_user: jimmy’ --insecure
Enter host password for user ‘elk’:
“faultstring”: “Invalid or missing credentials”