Hi @little comet,
Thank you for the detailed explanation, that helps a lot.
It sounds like the issue is occurring because the deployment agent creates a new MongoDB instance when transferring your project to the deployed app. This new database doesnβt include your existing admin credentials, which would explain why the login keeps failing.
To resolve this, we recommend implementing a small bypass function in your backend logic that automatically creates a default admin account if none exists in the database. This ensures that even after redeployment or a new database instance, youβll always have admin access without manually re-importing credentials.
Once this is added, you should be able to access your admin panel without any issues.
Please let me know once youβve tried this or if youβd like guidance on how to implement the bypass securely.
Best regards,
Nad