Build an authentication portal configuration
Portal options
Validated authentication portal configuration
import { buildAuthenticationPortal } from "@.../caddy-api-client/plugins/caddy-security";const portal = buildAuthenticationPortal({ name: "myportal", identityStores: ["localdb"], identityProviders: ["keycloak"], cookie: { domain: ".example.com", lifetime: "24h" },}); Copy
import { buildAuthenticationPortal } from "@.../caddy-api-client/plugins/caddy-security";const portal = buildAuthenticationPortal({ name: "myportal", identityStores: ["localdb"], identityProviders: ["keycloak"], cookie: { domain: ".example.com", lifetime: "24h" },});
Build an authentication portal configuration