tests: Set authorization.client.* keys

Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io>
This commit is contained in:
Piotr Resztak 2026-07-14 14:53:10 +02:00
parent f3764616fb
commit e4594cfd17

View File

@ -25,9 +25,10 @@ test_openfga() {
OPENFGA_STORE_ID="$(fga store create --name "test" | jq -r '.store.id')"
# Configure OpenFGA in Incus.
incus config set authorization.openfga.api.url "$(fga_address)"
incus config set authorization.openfga.api.token "$(fga_token)"
incus config set authorization.openfga.store.id "${OPENFGA_STORE_ID}"
incus config set "authorization.openfga.api.url=$(fga_address)"
incus config set "authorization.openfga.api.token=$(fga_token)"
incus config set "authorization.openfga.store.id=${OPENFGA_STORE_ID}"
incus config set "authorization.client.oidc=openfga"
# Wait for initial connection to OpenFGA.
sleep 1s