优化
This commit is contained in:
@@ -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}`))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user