Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Laravel + Mongo : Authentication failed

Mirko Tebaldi June 21, 2019 edited

I know that in the pipeline environment, the mongo service is created without authentication.

 

The problem is that i do not know how to AVOID to use authentication. So I got this error

 

MongoDB\Driver\Exception\AuthenticationException: Authentication failed.

 

I am using laravel with the well-know Jens Segers's package for mongodb.

 

Can I force pipeline to setup my user/pwd/auth method ?

OR can I force laravel/mongo package to NOT use auth?

2 answers

1 accepted

0 votes
Answer accepted
Mirko Tebaldi June 25, 2019

Ok, we cannot set mongodb in pipeline so I created a new connection with no username and password.

0 votes
mrawsl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2020

Ok, we cannot set mongodb in pipeline so I created a new connection with no username and password.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events