From 82ccfc2f922cd1d72960300d772d4b2e51eb7013 Mon Sep 17 00:00:00 2001 From: NicolasMontone Date: Mon, 16 Dec 2024 13:25:03 -0300 Subject: [PATCH] feat(auth): add oauthRedirectUrl and avoidDuplicates options to ConnectTokenOptions --- src/types/auth.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/types/auth.ts b/src/types/auth.ts index 0acee57..14d9f66 100644 --- a/src/types/auth.ts +++ b/src/types/auth.ts @@ -3,4 +3,8 @@ export type ConnectTokenOptions = { webhookUrl?: string /** A unique identifier of the user, usually used the UserId of your app */ clientUserId?: string + /** Url where the user will be redirected to after the oauth flow */ + oauthRedirectUrl?: string + /** Avoid duplicate items per user */ + avoidDuplicates?: boolean }