New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@workos-inc/authkit-js

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@workos-inc/authkit-js

AuthKit SDK

0.7.0
Source
npm
Version published
Weekly downloads
2.7K
-3.24%
Maintainers
0
Weekly downloads
 
Created
Source

AuthKit JavaScript Library

This library can be used to interface with AuthKit in a client-side JavaScript application.

Installation

npm install @workos-inc/authkit-js

Usage

import { createClient } from "@workos-inc/authkit-js";
const authkit = await createClient("your-client-id");
const user = authkit.getUser();
const accessToken = await authkit.getAccessToken();

Impersonation support is coming soon

Impersonation is not currently supported in authkit-js. We are targeting EOY 2024.

FAQs

Package last updated on 11 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts