Hello,
Will Meteor.bindEnvironment be removed in v3 ?
It is not listed here Removed Functions | Meteor 3.0 Migration Guide so I suppose it will work with v3.
I use saml2-js
and their function post_assert(IdP, options, cb)
has a callback.
I use to call it like this :
sp.post_assert(idp, options, Meteor.bindEnvironment(async function (err, saml_response) {
// do meteor stuff like finding the user, ...
})
How would you transform this if Meteor.bindEnvironment is not supported anymore ?
Most of the time I was able to use the await/async mode to stop using callback, but for this one I don’t know how to do it.
Thanks for your help