This commit is contained in:
2026-08-20 20:14:21 +08:00
parent 893d1801b5
commit 11cfba880d
3 changed files with 50 additions and 0 deletions
@@ -67,3 +67,11 @@ test('CN and overseas event bridges have explicit opposite-region consumers', as
'JWT_ISSUER', 'OVERSEAS_JWT_AUDIENCE', 'JWT_JWK_SET_URI'
]) assert.match(scripts, new RegExp(key))
})
test('domestic Auth receives the overseas JWT signing configuration', async () => {
const compose = await read('deploy/docker-compose.yml')
for (const key of [
'OVERSEAS_JWT_ENABLED', 'OVERSEAS_JWT_ISSUER', 'OVERSEAS_JWT_AUDIENCE',
'OVERSEAS_JWT_RSA_JWK_SET', 'OVERSEAS_JWT_CURRENT_KID', 'OVERSEAS_ACCESS_TOKEN_TTL'
]) assert.match(compose, new RegExp(`${key}: \\$\\{${key}`))
})