Scram-sha-1 auth mechanism MongoDb push/create


#1

Hi there,

I have problem how should look request if I wan’t create push to my mongodb whith scram-sha-1 autch mechanism ?

I’m using such a query (using your console)

api.datasift.com/v1/push/create?
name=Test-Test-Test
&output_type=mongodb
&hash=[HASH]
&output_params.auth.password=[MONGO PASS]
&output_params.auth.username=[MONGO USERNAME]
&output_params.collection_name=datasift-[HASH]
&output_params.db_name=datasift
&output_params.host=[MONGO IP]
&output_params.port=[MONGO PORT]
&api_key=[API KEY]
&username=[API USER]

Where bolded items are of course my private data. I also tried to add

output_params.auth.type=scram-sha-1

But there is same result:

{
“error”: “Bad request,MongoDB Message: Failed to connect to: [IP]: Authentication failed on database ‘datasift’ with username ‘[USER]’: auth failed”
}