mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
ace1fa0d37
* stubing out required pages * Add Vanta authorization action, create externalAuthorization(name will most likely change) Model * rebuild cloud sdk * Draft script * update importer, update connect-vanta page * layout updates * update action * change model name * update model name * update script * Update vanta callback page * add new model to lint config * update model attributes * update vanta connection page to require url protocol, fix lint error in routes * rename page, vanta-callback » vanta-authorization * Update errors, handle incomplete connections * Update model attribute names * Remove console.log(), add error message for non-Fleet Premium users * update importer, fix lint error * update send-data-to-vanta script * Update create-vanta-authorization-request.js * update page name * update comments and error messages * layout changes * update status codes used in exits * Add comment * Update .eslintrc * Update create-vanta-authorization-request.js * Update view-vanta-authorization.js * Update VantaConnection.js * Update send-data-to-vanta.js * Update create-vanta-authorization-request.js * Update mobile styles * update text * update error text, show sucess message if account has already been authorized * lint fix Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
22 lines
1.3 KiB
Plaintext
Vendored
22 lines
1.3 KiB
Plaintext
Vendored
<div id="vanta-authorization" v-cloak>
|
|
|
|
<div class="container d-flex flex-column align-items-center justify-content-center" >
|
|
<div v-if="showSuccessMessage">
|
|
<h1 class="pb-2">You're all set up!</h1>
|
|
<p>Please <a href="/contact">contact</a> Fleet if you need to change or stop your Fleet and Vanta integration.</p>
|
|
</div>
|
|
<div v-else>
|
|
<div v-if="connectionError === 'missingCookies'">
|
|
<h1 class="pb-2">We've encountered an unexpected error.</h1>
|
|
<p>When trying to connect Fleet to your Vanta account, one or more of the required cookies were missing.<br class="d-none d-lg-block"> Please ensure your browser has the ability to store cookies on fleetdm.com, and <a href="/connect-vanta">try again.</a></p>
|
|
</div>
|
|
<div v-else-if="connectionError === 'mismatchedState'">
|
|
<h1 class="pb-2">We've encountered an unexpected error.</h1>
|
|
<p>When trying to connect Fleet to your Vanta account, your identity could not be verified.<br class="d-none d-lg-block"> Please make sure your browser has the ability to store cookies from fleetdm.com and <a href="/connect-vanta">try again</a> or <a href="/contact">contact us</a>.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<%- /* Expose server-rendered data as window.SAILS_LOCALS :: */ exposeLocalsToBrowser() %>
|