We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6781560 commit f4986beCopy full SHA for f4986be
.changeset/custom-code-exchange.md
@@ -7,11 +7,11 @@ Add custom code exchange functionality for enhanced security.
7
### Usage
8
9
```typescript
10
+// Handle code exchange on your backend
11
const nylasConnect = new NylasConnect({
12
clientId: 'your-client-id',
13
redirectUri: 'http://localhost:3000/callback',
14
codeExchange: async (params) => {
- // Handle code exchange on your backend
15
const response = await fetch('/api/auth/exchange', {
16
method: 'POST',
17
body: JSON.stringify(params),
0 commit comments