fix(stripe): improve subscription cancellation handling and add callback endpoint

This commit is contained in:
Bereket Engida
2025-03-02 11:39:57 +03:00
parent 1d700f38f1
commit 1c91294e23
10 changed files with 254 additions and 83 deletions

View File

@@ -26,7 +26,7 @@ export const client = createAuthClient({
oneTapClient({
clientId: process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID!,
promptOptions: {
maxAttempts: 2,
maxAttempts: 1,
},
}),
oidcClient(),