https://github.com/workos/authkit-js
Vanilla JS AuthKit SDK
https://github.com/workos/authkit-js
Last synced: 5 months ago
JSON representation
Vanilla JS AuthKit SDK
- Host: GitHub
- URL: https://github.com/workos/authkit-js
- Owner: workos
- License: mit
- Created: 2024-07-16T22:44:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-19T16:37:04.000Z (6 months ago)
- Last Synced: 2025-12-22T06:53:31.237Z (6 months ago)
- Language: TypeScript
- Size: 238 KB
- Stars: 23
- Watchers: 4
- Forks: 8
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```js
import { createClient } from "@workos-inc/authkit-js";
const authkit = await createClient("your-client-id");
const user = authkit.getUser();
const accessToken = await authkit.getAccessToken();
```