Setting Up the App SDK

Prev Next

For the APIs to work correctly, load utils.js before loading other SDK scripts.

To load the App SDK, use a script tag.

<head>
  . . .
  <script src="https://<nnl_apiserver_domain>:<port>/nnlappsdk‑<version>/js/utils.js">
  </script>
  <script src="https://<nnl_apiserver_domain>:<port>/nnlappsdk‑<version>/js/appsdk.js">
  </script>
  <script src="https://<nnl_apiserver_domain>:<port>/nnlappsdk‑<version>/js/adaptive.js">
  </script>
  . . .
</head>

adaptive.js contains the APIs for Adaptive Registration, Adaptive Authentication, and non-FIDO registration. appsdk.js contains the APIs for non-Adaptive Authentication and FIDO registration.