fleet/website/api/controllers/experimental/view-okta-webflow.js
Eric 4770a780b4
Website: Add /demo/okta-webflow (#10238)
Related to: https://github.com/fleetdm/fleet/issues/10210

Changes:
- Added `/experimental/okta-webflow`
- This page has a login form that accepts any input. When the login form
is submitted, the page shows the user a EULA.
- Updated policies, importer.less and routes
- Updated `layouts/layout-sandbox` to hide the website's header and
footer, and disable the Papercups chat widget when a variable named
`optimizeForAppleWebview` is set to `true`.

---------

Co-authored-by: Mike McNeil <[email protected]>
2023-03-01 19:08:47 -06:00

27 lines
286 B
JavaScript
Vendored

module.exports = {
friendlyName: 'View okta webflow',
description: 'Display "Okta webflow" page.',
exits: {
success: {
viewTemplatePath: 'pages/experimental/okta-webflow'
}
},
fn: async function () {
// Respond with view.
return {};
}
};