Skip to content

Commit

Permalink
docs: add example of JavaScript SDK in audience.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineYagoub committed Jan 25, 2024
1 parent c8791f2 commit 0777688
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<a href="https://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>
<p align="center">
<h1 align="center"> Kinde Auth Nestjs</h1>
<h1 align="center"> Kinde Auth NestJs</h1>

A Nestjs Module to validate your [Kinde](https://kinde.com) JSON Web Tokens
A NestJs Module to validate your [Kinde](https://kinde.com) JSON Web Tokens

![node-current](https://img.shields.io/node/v/@amsame/kinde-auth-nestjs?style=flat)
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)
Expand Down
9 changes: 9 additions & 0 deletions docs/audience.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,14 @@ The token can then be used to make a request from the front-end to the back-end,
KINDE_AUDIENCE=<your-audience>
```

example of JavaScript SDK

```bash
const kinde = await createKindeClient({
audience: "<your-audience>"
...
});
```

- select <b>Applications</b> in the left menu.
- Activate the connection for each application that uses the API and click save.

0 comments on commit 0777688

Please sign in to comment.