mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 09:28:06 +00:00
Return external account required
This commit is contained in:
@@ -58,7 +58,15 @@ export const GetAcmeDirectoryResponseSchema = z.object({
|
|||||||
newNonce: z.string(),
|
newNonce: z.string(),
|
||||||
newAccount: z.string(),
|
newAccount: z.string(),
|
||||||
newOrder: z.string(),
|
newOrder: z.string(),
|
||||||
revokeCert: z.string().optional()
|
revokeCert: z.string().optional(),
|
||||||
|
meta: z
|
||||||
|
.object({
|
||||||
|
termsOfService: z.string().optional(),
|
||||||
|
website: z.string().optional(),
|
||||||
|
caaIdentities: z.array(z.string()).optional(),
|
||||||
|
externalAccountRequired: z.boolean().optional()
|
||||||
|
})
|
||||||
|
.optional()
|
||||||
});
|
});
|
||||||
|
|
||||||
// New Account payload schema
|
// New Account payload schema
|
||||||
|
|||||||
@@ -353,7 +353,10 @@ export const pkiAcmeServiceFactory = ({
|
|||||||
return {
|
return {
|
||||||
newNonce: buildUrl(profile.id, "/new-nonce"),
|
newNonce: buildUrl(profile.id, "/new-nonce"),
|
||||||
newAccount: buildUrl(profile.id, "/new-account"),
|
newAccount: buildUrl(profile.id, "/new-account"),
|
||||||
newOrder: buildUrl(profile.id, "/new-order")
|
newOrder: buildUrl(profile.id, "/new-order"),
|
||||||
|
meta: {
|
||||||
|
externalAccountRequired: true
|
||||||
|
}
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user