This is not working. I’m on 3.5-beta.10. Both Meteor.userId() and await Meteor.userAsync() return null, but I am definitely logged in (the regular app at the index route works fine, I see features available only when logged in).
EDIT: Ah, because accessing the endpoint via browser address bar does not use auth tokens. The new Meteor.fetch(url, {auth: true}) in Meteor 3.5 does the trick: I can fetch an endpoint from the client code using auth to download the DB.