Adjust again for uncertian config

This commit is contained in:
Owen
2025-08-20 17:48:55 -07:00
parent 49f0f6ec7d
commit 77796e8a75
9 changed files with 18 additions and 13 deletions

View File

@@ -65,7 +65,7 @@ export async function getIdp(
return next(createHttpError(HttpCode.NOT_FOUND, "Idp not found"));
}
const key = config.getRawConfig().server.secret;
const key = config.getRawConfig().server.secret!;
if (idpRes.idp.type === "oidc") {
const clientSecret = idpRes.idpOidcConfig!.clientSecret;