From 1faacf8dda27d4eef0a4440deda82326262e0a89 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 6 Mar 2025 13:18:30 -0700 Subject: feat: provide JWT token and GlobalID to make the remote authorization decision --- bin/e2e | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/e2e') 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 -- cgit v1.2.3