diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 666133117b5a2a6146fc40a1a6edd6dd3a67d353..b95852dbf1974171aa44f880ecc1b853e74dd71d 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,6 +1,6 @@
 spring.application.name=todo
 server.port=9876
-spring.data.mongodb.uri=mongodb://${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_HOST}:${MONGO_PORT}/${MONGO_DB}
+spring.data.mongodb.uri=mongodb://${MONGO_USER}:${MONGO_PASSWORD}@${MONGO_HOST}:${MONGO_PORT}/${MONGO_DB}?authSource=admin
 
 #openapi setup
 springdoc.api-docs.path=/v3/api-docs