Node.js
Installation
Install @circleco/headless-server-sdk
to start working with the Authentication SDK.
npm install @circleco/headless-server-sdk
Import the module into your code
Once the SDK package is installed, import createClient
from the headless package.
import { createClient } from "@circleco/headless-server-sdk";
Create a client
Use the createClient
function to create a new SDK client instance.
const client = createClient({
appToken: "AppToken", <-- your app token goes here.
});
Send your first request
const response = await client.getMemberAPITokenFromSSOId(SSOID);
Last updated