0.0.4 • Published 12 months ago
identityfort v0.0.4
Identityfort
Client for identityfort.io
How to
- Create an account identityfort.io
- Register a website where the client application will be utilized.
- Add the client to your web site
<script type="module" crossorigin src="https://unpkg.com/identityfort@0.0.4/dist/index.js"></script>
The phrase "identityfort@0.0.0" indicates that the version number, represented by "0.0.4," is subject to change.
- Initialize the library using your public key and request a token.
document.addEventListener("DOMContentLoaded", () => {
const dataGetter = new IdentityFort("publicKey");
dataGetter.getToken().then(console.log);
});
The token that is returned should be used on the server side. We suggest obtaining the token and transmitting it to the backend during the sign-in and sign-up processes.