An open API service indexing awesome lists of open source software.

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

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();
```