summaryrefslogtreecommitdiff
path: root/bin/e2e
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-06 13:18:30 -0700
committermo khan <mo@mokhan.ca>2025-03-06 13:18:30 -0700
commit1faacf8dda27d4eef0a4440deda82326262e0a89 (patch)
treeb8f7283ff20dc647891e280f6fea48f9a1c13e74 /bin/e2e
parent68aaecae08062f6a200bc7167e8666c14165630c (diff)
feat: provide JWT token and GlobalID to make the remote authorization decision
Diffstat (limited to 'bin/e2e')
-rwxr-xr-xbin/e2e2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/e2e b/bin/e2e
index bcc2b67..f4824ec 100755
--- a/bin/e2e
+++ b/bin/e2e
@@ -19,6 +19,6 @@ $BROWSER http://ui.example.com:8080/saml/new
$BROWSER http://ui.example.com:8080/oidc/new
curl http://api.example.com:8080/projects.json
-curl -i -XPOST http://api.example.com:8080/projects --data '{"name": "gitlab"}'
+curl -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI2YmYxZTlmMy02OGIwLTQ4NmYtOGVlZi0wODFmZTg2YjJlODMiLCJpYXQiOjE3NDEyOTAzMzJ9.e30=' -XPOST http://api.example.com:8080/projects --data '{"name": "gitlab"}'
curl http://api.example.com:8080/projects.json