Skip to content

Commit 37518cf

Browse files
committed
Revert "restore: try x-headers (debug)"
This reverts commit a0bcccf.
1 parent a0bcccf commit 37518cf

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

run/idp-sql/test/e2e_test_setup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ steps:
5858
- |
5959
./test/retry.sh "gcloud run deploy ${_SERVICE} \
6060
--image gcr.io/${PROJECT_ID}/${_SERVICE}:${_VERSION} \
61-
--no-allow-unauthenticated \
61+
--allow-unauthenticated \
6262
--region ${_REGION} \
6363
--service-account ${_SERVICE_ACCOUNT} \
6464
--add-cloudsql-instances ${_CLOUD_SQL_CONNECTION_NAME} \

run/idp-sql/test/system.test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ describe('System Tests', () => {
5151
throw Error('"DB_PASSWORD" env var not found.');
5252
}
5353

54-
// Get ID token for the authentication part
55-
const {ID_TOKEN} = process.env;
56-
if (!ID_TOKEN) {
57-
throw Error('"ID_TOKEN" env var not found.');
58-
}
59-
6054
// Get Firebase Key to create Id Tokens
6155
const {IDP_KEY} = process.env;
6256
if (!IDP_KEY) {
@@ -160,7 +154,6 @@ describe('System Tests', () => {
160154
form: {team: 'DOGS'},
161155
headers: {
162156
Authorization: `Bearer ${CUSTOM_TOKEN.trim()}`,
163-
'X-Serverless-Authorization': `Bearer ${ID_TOKEN}`,
164157
},
165158
retry: {
166159
limit: 5,
@@ -186,7 +179,6 @@ describe('System Tests', () => {
186179
form: {team: 'DOGS'},
187180
headers: {
188181
Authorization: 'Bearer iam-a-token',
189-
'X-Serverless-Authorization': `Bearer ${ID_TOKEN}`,
190182
},
191183
retry: {
192184
limit: 5,

0 commit comments

Comments
 (0)