Compare commits
1 Commits
5ada30858a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 08b9bb8095 |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
node_modules/
|
||||||
|
.DS_Store
|
||||||
5
dist/server/index.js
vendored
5
dist/server/index.js
vendored
@@ -60,6 +60,11 @@ function createAuthModule(options) {
|
|||||||
Google({
|
Google({
|
||||||
clientId: options.googleClientId,
|
clientId: options.googleClientId,
|
||||||
clientSecret: options.googleClientSecret,
|
clientSecret: options.googleClientSecret,
|
||||||
|
authorization: {
|
||||||
|
params: {
|
||||||
|
prompt: "select_account"
|
||||||
|
}
|
||||||
|
},
|
||||||
allowDangerousEmailAccountLinking: true
|
allowDangerousEmailAccountLinking: true
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
2
dist/server/index.js.map
vendored
2
dist/server/index.js.map
vendored
File diff suppressed because one or more lines are too long
4548
package-lock.json
generated
Normal file
4548
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@packages/auth",
|
"name": "@packages/auth",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"files": [
|
"files": [
|
||||||
@@ -34,5 +34,13 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.14.0"
|
"@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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,6 +101,11 @@ export function createAuthModule<TAuthUser>(options: CreateAuthModuleOptions<TAu
|
|||||||
Google({
|
Google({
|
||||||
clientId: options.googleClientId!,
|
clientId: options.googleClientId!,
|
||||||
clientSecret: options.googleClientSecret!,
|
clientSecret: options.googleClientSecret!,
|
||||||
|
authorization: {
|
||||||
|
params: {
|
||||||
|
prompt: "select_account"
|
||||||
|
}
|
||||||
|
},
|
||||||
allowDangerousEmailAccountLinking: true
|
allowDangerousEmailAccountLinking: true
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user