Ajoute tsup et force la sélection du compte Google

This commit is contained in:
2026-04-15 02:26:04 +02:00
parent 5ada30858a
commit 08b9bb8095
6 changed files with 4570 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
node_modules/
.DS_Store

View File

@@ -60,6 +60,11 @@ function createAuthModule(options) {
Google({
clientId: options.googleClientId,
clientSecret: options.googleClientSecret,
authorization: {
params: {
prompt: "select_account"
}
},
allowDangerousEmailAccountLinking: true
})
);

File diff suppressed because one or more lines are too long

4548
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@packages/auth",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"type": "module",
"files": [
@@ -34,5 +34,13 @@
},
"dependencies": {
"@emotion/react": "^11.14.0"
},
"devDependencies": {
"@types/express": "^5.0.3",
"@types/node": "^24.7.2",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"tsup": "^8.5.0",
"typescript": "^5.9.3"
}
}

View File

@@ -101,6 +101,11 @@ export function createAuthModule<TAuthUser>(options: CreateAuthModuleOptions<TAu
Google({
clientId: options.googleClientId!,
clientSecret: options.googleClientSecret!,
authorization: {
params: {
prompt: "select_account"
}
},
allowDangerousEmailAccountLinking: true
})
);