How to use the app users to authenticate functions linked to HTTPS Endpoints?

Hi team,

I have an app that contains some functions which are linked to HTTPS Endpoints, I have enabled (Email/Password) authentication and created 3 different users.

Apparently, the Endpoints themselves can’t be authenticated, hence we need to authenticate the functions instead. I was reading and reading and couldn’t find a clear enough “at least not for me” document on how to use the app users to authenticate the functions?

Is there any document apart from the ones in MongoDB docs or a tutorial that I can follow to implement user app authentication?

Hi @Mustafa_Al_Ani ,

As far as I remember you can pass an object with email and password to the call as a header or part of the body:

email : ... ,
password : ...



Thank you @Pavel_Duchovny - that works.

1 Like