Skip to content

Commit 2b89630

Browse files
authored
integration: define admin-tokens under identity-providers, as busbar 1.5.3 requires (#2)
1 parent 2718f62 commit 2b89630

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

scripts/integration.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,14 @@ EOF
3939
cat > "$BUSBAR_CONFIG" <<EOF
4040
listen: "127.0.0.1:${PORT}"
4141
admin_listen: "127.0.0.1:${ADMIN_PORT}"
42+
# 1.5.3: inline module entries under `auth.admin_auth:` were retired. Each identity provider is
43+
# DEFINED once here and REFERENCED by bare name below; busbar refuses to boot the old inline shape.
44+
identity-providers:
45+
admin-tokens: { module: admin-tokens, token: { env: BUSBAR_ADMIN_TOKEN } }
4246
auth:
4347
chain: [keys]
4448
signing_key: { file: "${WORK}/signing.key" }
45-
admin_auth:
46-
- admin-tokens: { token: { env: BUSBAR_ADMIN_TOKEN } }
49+
admin_auth: [admin-tokens]
4750
providers:
4851
mock:
4952
api_key: { env: MOCK_KEY }

0 commit comments

Comments
 (0)