mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
From 3.6-rc.1. `meteor update --release METEOR@3.6` refused it: WeKan's forks of six Meteor packages in packages/ (allow-deny, ddp-server, dynamic-import, facebook-oauth, google-oauth, shell-server) declared 3.6-rc.1's versions with a _1 wrap number, and a local package overrides the release's, so ~3.6.0 could not be met. Meteor 3.6 changed those six packages only in their version line (compared on GitHub, release/METEOR@3.6-rc.1...release/METEOR@3.6), so each fork now declares 3.6's version with its _1 wrap number; .meteor/packages drops the rc pins, and .meteor/versions, @meteorjs/rspack 3.0.0 and the lockfile are what meteor update wrote. webapp is 2.4.0. The Dockerfile's METEOR_RELEASE is METEOR@3.6. The Bun build's patch applies unchanged to Meteor 3.6, which still has no Bun ESM loader of its own: it is meteor-3.6.patch, checked against 3.6's commit e730097c. tests/meteor353SecurityFixes.test.cjs is moved to 3.6 by decision, after that check. WeKan builds with Meteor 3.6, and the node suites pass (2162 run, 0 failed). Thanks to xet7 !
google-oauth
Source code of released version | Source code of development version
An implementation of the Google OAuth flow. See the project page on Meteor Accounts for more details. Google's documentation
Signing in with a native Google token
The googleSignIn: true login method checks that the access token was issued for this application before logging the user in. A token passes when one of these is true:
- it was issued to the
clientIdin thegoogleservice configuration, for example after the server exchanges aserverAuthCode; - it was issued to a client listed in the optional
additionalClientIdsarray of that configuration; - it comes with an
idTokenwhose audience is one of those clients and whose user is the same Google account. Native Google Sign-In SDKs return such an ID token when you configure them with your web client ID.
Apps that send access tokens from the iOS or Android Google Sign-In SDKs without an ID token can list those client IDs:
{
"packages": {
"service-configuration": {
"google": {
"clientId": "WEB_CLIENT_ID.apps.googleusercontent.com",
"secret": "...",
"additionalClientIds": [
"IOS_CLIENT_ID.apps.googleusercontent.com",
"ANDROID_CLIENT_ID.apps.googleusercontent.com"
]
}
}
}
}
Only list client IDs from your own Google Cloud project.