AnsweredAssumed Answered

Issue connecting with Mongodb using password digest authentication.

Question asked by asheeshkumar.sharma960440 on Apr 19, 2017
Latest reply on Apr 4, 2018 by scott.wilson076218

Hello folks, 

 

I am trying to connect to mongodb and i am using http client.

We did this without authentication and it worked absolutely fine. Now we are trying to connect using some authentication. We choose password digest for this.

 

Now everytime i am testing through boomi i am getting a 401 error. But it is working absolutely fine with any browser , i tried IE and Chrome and it works fine with both and again using the authentication.

 

We are not going past 2nd step as performed with digest authentication. Boomi is not sending the credentials back and is showing the initial 401 error.

 

Any help is appreciated. 

 

As i was reading so THIS IS HOW IT WORKS FOR DIGEST AUTHENTICATION
(REFERENCE WIKIPEDIA - https://en.wikipedia.org/wiki/Digest_access_authentication)

 

-1->The client asks for a page that requires authentication but does not provide a username and password
-2->The server responds with the 401 "Unauthorized" response code, providing the authentication realm and a randomly generated, single-use value called a nonce.
-3->At this point, the browser will present the authentication realm (typically a description of the computer or system being accessed) to the user and prompt for a username and password.
-4->Once a username and password have been supplied, the client re-sends the same request but adds an authentication header that includes the response code.
-5->The server accepts the authentication and the page is returned.

Outcomes