Demo Application

The example app in the download fully incorporates the Sybrin Identity Web SDK. To use the example, please ensure the following:

  • You have an API key as provided by Sybrin

  • You have the backend API endpoints for authentication and data extraction as provided by Sybrin

Then follow these steps:

  1. Download the sybrin-identity-websdk-demo-application.zip file linked above

  2. Extract the zip file contents

  3. Open index.js

  4. Follow JavaScript API and component initialization with the authorization method of your choice

  5. Host the UI folder in any hostable environment, e.g. IIS

For your convenience in formulating custom styling for all components, sybrin.identity.css is also provided as a base example below.

<!DOCTYPE html>
<html class="" lang="en" id="html">

<head>
    <title>
        Sybrin Identity
    </title>

    <base href="./" />
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="icon" type="image/x-icon" href="favicon.ico" />
    <script src="sybrin.identity.all.js"></script>
    <script src="index.js"></script>
    <link rel="stylesheet" href="index.css" media="screen" />
</head>

<body>
    <header>
        <div class="branding">
            <img class="logo"
                src="https://upload.wikimedia.org/wikipedia/commons/3/3e/Sybrin-Logo-Horizontal-Blue.svg" />
        </div>
        <div class="branding">
            <span class="title">Sybrin Web SDK - Identity</span>
        </div>
        <div class="actions">
        </div>
    </header>
    <div id="viewport" class="viewport">
        <div class="sybrin-demo-loading">
            Please wait. Loading...
        </div>
    </div>
</body>

</html>

Last updated

Was this helpful?