JavaScript
Setup
SDK Keys and Allowed URLs
To use the JavaScript SDK, you must first create an SDK key for your project, as well as add allowed URLS for this key. To do this, please visit https://dashboard.autharmor.com and select your project. Visit https://docs.autharmor.com/docs/sdk for more information
๐ Installation
You can integrate the AuthArmor SDK into your website easily by either installing our NPM package or by importing it from our CDN:
# Via NPM
npm i -s autharmor-sdk
# Via Yarn
yarn add autharmor-sdk
You can also load the SDK via our CDN by placing this script tag at the bottom of your app's
<script src="https://cdn.autharmor.com/scripts/autharmor-jsclient-sdk/v3.0.0/autharmor-jsclient-sdk.js"></script>
Typescript
This SDK is fully coded in TypeScript and its definition files are bundled by default when installing it through NPM/Yarn
Updated about 1 month ago