Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from ergon/jwt-optional
Browse files Browse the repository at this point in the history
make jwt for access to echo service optional
  • Loading branch information
libuweber authored Jan 25, 2022
2 parents 3bb2cb1 + 699a665 commit ce73675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metrics/.scripts/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ else
EXIT_CODE=1
fi

STATUSCODE=$(curl -k -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiZGlyIn0..q_382QLa9P1N5xuv.STvykuZALmVkEDeRVssJ5J-W7gU-fbEUa3D-drurDji2CltNV31EW7mF7jnW-IGUw9dBvapHDtt-ADne8AhzpbDpmsCFDGY4pTbp-LFXpVtsLfhT1aWM8C245tB2CBT5Mr-wHzxfyRHwusZhgIljqE0qzQl6Ys-lxG2lYaXLc51ajBtq2C8TJoZ1WadhToNGoNx_begTDescWBerlrQxL-P2kMB-A_F_OpkUFkX3-S6dZOxtBTK-8EzZUvc_ButxskYjm24M3QneJ8J1NER0DORqxKh-MKdj3eTdYiQNUJ72N_POEQg_ubvDeSD4J9mF0XShE8Z5fWVhtPbzzw1VCSQbcp2gpIWfZuEnxkguwQwr1sV2.GcTNSVOFh5Coog2rY7dGXg" https://${kubernetes_ip}/echo/)
STATUSCODE=$(curl -k -s -o /dev/null -w "%{http_code}" https://${kubernetes_ip}/echo/)
if [ "${STATUSCODE}" = "200" ]
then
echo "OK: echo service returned status code 200"
Expand Down
2 changes: 1 addition & 1 deletion metrics/solution/echo-microgateway/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ apps:
roles:
- member
access_token:
mandatory: true
mandatory: false
# expiry_checked is disabled to see authenticated sessions in Grafana
# note: it is highly recommended to enable expiry_checked in production
expiry_checked: false
Expand Down

0 comments on commit ce73675

Please sign in to comment.