Loop Inbox Integration
Overview
The Loop Manager Inbox can be embedded via iFrame within a partner or customer application or web experience.
Sample Code
Reference the following iFrame HTML element in an HTML5-ready page to embed the Loop inbox:
<iframe src="https://<account>.blazeloop.com/login"></iframe>
Notes on User Lifecycle:
Temporary user accounts on Loop must be created for pre-authenticated users during or before loading of the Loop interface. User permissions would be inherited from a default profile. User visibility (controls what locations or items that user will see) would be passed at the time of creation.
Mechanism: Benbria’s RESTful WS API v1 for user creation before loading the Loop interface, or alternatively using a CSV upload of user records.
Detailed Code Sample
The following code sample dynamically resizes the Loop view to a 16:9 ratio and fits to a padded window, for example:
<!-- Copyright 2017 Benbria - All Rights Reserved -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<style>
body {background-color: #dbdbdb;}
.s_iframe {position:relative;}
.s_iframe .ratio {display:block;width:90%;height:auto;}
.s_iframe iframe {position:absolute;top:0;left:0;width:100%; height:100%;}
</style>
<title>Embedded Loop Inbox Example</title>
</head>
<body>
<h1>Loop® Manager Inbox:</h1>
<div class="s_iframe">
<img class="ratio" src="http://placehold.it/16x9"/>
<iframe src="https://<account>.blazeloop.net/login" name="Loop Inbox"></iframe>
</div>
</body>
</html>
Future
To support a seamless experience for the user, Loop is evaluating SAML 2.0 first and OAuth as a second choice for authentication hand-off from external platforms to Loop.