Skip to content

Commit 7cb80eb

Browse files
[Docs] Update OAuth encryption README (#82)
1 parent e919fa1 commit 7cb80eb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/node-embed-sdk/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,13 @@ pnpm add @sigmacomputing/node-embed-sdk
2828

2929
### Token Encryption and Decryption
3030

31-
The SDK provides utilities for encrypting and decrypting OAuth tokens using AES-256-GCM encryption:
31+
The SDK provides utilities for encrypting and decrypting OAuth tokens using AES-256-GCM encryption.
32+
33+
See our documentation on [embedding with JWTS](https://help.sigmacomputing.com/docs/create-an-embed-api-with-json-web-tokens) for more information.
34+
35+
Sigma expects you to encrypt OAuth tokens using the same embed secret used to sign the embed.
36+
37+
#### Example Usage
3238

3339
```typescript
3440
import { encrypt, decrypt } from '@sigmacomputing/node-embed-sdk';

0 commit comments

Comments
 (0)