minauthator/http_integration_tests/get_user_info.sh

6 lines
216 B
Bash
Raw Normal View History

#!/usr/bin/sh
curl -v http://localhost:8085/api/user \
-u "a1785786-8be1-443c-9a6f-35feed703609":"49c6c16a-0a8a-4981-a60d-5cb96582cc1a" \
-H "Authorization: JWT $(jq -r .access_token tmp/access_token.json)"