Upgrade to Meteor 2.3.4

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2021-06-25 14:11:53 +03:00 committed by Denis Perov
parent e6dc20f6c7
commit 40265144af
316 changed files with 5049 additions and 32549 deletions

View file

@ -1,22 +0,0 @@
Accounts.oauth.registerService('oidc');
if (Meteor.isClient) {
Meteor.loginWithOidc = function(options, callback) {
// support a callback without options
if (! callback && typeof options === "function") {
callback = options;
options = null;
}
var credentialRequestCompleteCallback = Accounts.oauth.credentialRequestCompleteHandler(callback);
Oidc.requestCredential(options, credentialRequestCompleteCallback);
};
} else {
Accounts.addAutopublishFields({
// not sure whether the OIDC api can be used from the browser,
// thus not sure if we should be sending access tokens; but we do it
// for all other oauth2 providers, and it may come in handy.
forLoggedInUser: ['services.oidc'],
forOtherUsers: ['services.oidc.id']
});
}