Integration and Usage
Example apps
Install and import package
via NPM package
npm i ontloginimport {createAuthRequest} from "ontlogin";via js bundle
<script src="ontlogin.min.js"></script>
<script>
ontlogin.createAuthRequest();
</script>import {createAuthRequest} from "ontlogin.es.js";Generate authRequest and challenge
authRequest and challengeGet QR code from ontlogin QR server.
Show QR code UI and query scan result from ontlogin QR server
Submit challenge response to your server
Last updated