Skip to content

Commit 99de1d1

Browse files
committed
chore: add synk comments
1 parent 57ea398 commit 99de1d1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/lib/handleAuth/handleAuth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export async function handleAuth({
3333
redirectURL: kindeConfiguration.redirectURL || '',
3434
audience: kindeConfiguration.audience || '',
3535
scope: kindeConfiguration.scope || '',
36+
// deepcode ignore HardcodedNonCryptoSecret: <this is read from env var vand validated here>
3637
clientSecret: validateClientSecret(kindeConfiguration.clientSecret || '')
3738
? 'Set correctly'
3839
: 'Not set correctly',

src/tests/KindeSDK.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ describe('KindeSDK', () => {
1919
logoutRedirectURL: 'http://localhost:3000',
2020
redirectURL: 'http://localhost:3000/api/auth/callback',
2121
appBase: 'http://localhost:3000',
22+
// file deepcode ignore HardcodedNonCryptoSecret/test: <please specify a reason of ignoring this>
2223
clientSecret: 'asdfgaskjasfkjasfljasflajslfjaslfjalsfjalskfjlas',
2324
loginRedirectURL: 'http://localhost:3000/dashboard',
2425
authUsePKCE: false,

src/tests/handleAuth.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// file deepcode ignore HardcodedNonCryptoSecret/test: <test file>
12
import {describe, beforeEach, it, expect, vi} from 'vitest';
23
import {kindeAuthClient, kindeConfiguration, handleAuth} from '$lib/index.js';
34

0 commit comments

Comments
 (0)