nixos/portunus: fix specification of client secret

Environment variables are only expanded in *Env variables.

Ref dexidp/dex#1664
This commit is contained in:
xeals 2022-08-27 17:39:46 +10:00
parent 5a9b7f4514
commit 836505dee4
No known key found for this signature in database
GPG key ID: A498C7AF27EC6B5C

View file

@ -214,7 +214,7 @@ in
inherit (client) id;
redirectURIs = [ client.callbackURL ];
name = "OIDC for ${client.id}";
secret = "$DEX_CLIENT_${client.id}";
secretEnv = "DEX_CLIENT_${client.id}";
});
};
};