# Agent 3 attempts to test, when it can't login, overrides all authentication

**URL:** https://replit.discourse.group/t/agent-3-attempts-to-test-when-it-cant-login-overrides-all-authentication/6990
**Category:** Bugs
**Created:** [September 11, 2025, 6:22pm UTC](https://replit.discourse.group/t/agent-3-attempts-to-test-when-it-cant-login-overrides-all-authentication/6990 "2025-09-11T18:22:49Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![shawn93](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/shawn93/32/1239_2.png) [@shawn93](https://replit.discourse.group/u/shawn93)
#### Post date: [September 11, 2025, 6:22pm UTC](https://replit.discourse.group/t/agent-3-attempts-to-test-when-it-cant-login-overrides-all-authentication/6990/1 "2025-09-11T18:22:49Z")

</div>

![image](https://canada1.discourse-cdn.com/flex010/uploads/replit/original/2X/8/8a72da3f0205a81e60e32e2963cb3147bb3cbcc4.png)

I asked Agent to fix certain APIs because there was an error loading data on the page and make sure tables were properly implemented. App testing was turned on to make sure the form fill was properly saving a record to the database.

Agent ran into issues on the authentication page (it was typing in the wrong password). Agent took it upon itself to “fix” the issue by replacing the user’s password. A forced password reset by Agent seems like something that should be prevented.

---

<div class="post-metadata">

### Author: ![realfunnyeric](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/realfunnyeric/32/2150_2.png) [@realfunnyeric](https://replit.discourse.group/u/realfunnyeric)
#### Post date: [September 11, 2025, 6:54pm UTC](https://replit.discourse.group/t/agent-3-attempts-to-test-when-it-cant-login-overrides-all-authentication/6990/2 "2025-09-11T18:54:39Z")

</div>

I experienced this also. It really struggles with auth, especially non-Replit auth (firebase, supabase etc.)

Use full autonomy with caution in these instances right now.

---

<div class="post-metadata">

### Author: ![CraigRT](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/craigrt/32/1658_2.png) [@CraigRT](https://replit.discourse.group/u/CraigRT)
#### Post date: [September 11, 2025, 10:56pm UTC](https://replit.discourse.group/t/agent-3-attempts-to-test-when-it-cant-login-overrides-all-authentication/6990/3 "2025-09-11T22:56:19Z")

</div>

Do you think that adding an instruction onto Replit.md to never change the auth system without specific instruction would help? How much does agent pay attention to the Replit.md file?

---

<div class="post-metadata">

### Author: ![realfunnyeric](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/realfunnyeric/32/2150_2.png) [@realfunnyeric](https://replit.discourse.group/u/realfunnyeric)
#### Post date: [September 11, 2025, 11:07pm UTC](https://replit.discourse.group/t/agent-3-attempts-to-test-when-it-cant-login-overrides-all-authentication/6990/4 "2025-09-11T23:07:33Z")

</div>

replit.md instructions so far have been ineffective for me.

---

<div class="post-metadata">

### Author: ![CraigRT](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/craigrt/32/1658_2.png) [@CraigRT](https://replit.discourse.group/u/CraigRT)
#### Post date: [September 11, 2025, 11:15pm UTC](https://replit.discourse.group/t/agent-3-attempts-to-test-when-it-cant-login-overrides-all-authentication/6990/5 "2025-09-11T23:15:56Z")

</div>

Yeah. It sounds like a useful thing, but in reality it does not seem to work how it should.

---

<div class="post-metadata">

### Author: ![shawn93](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/shawn93/32/1239_2.png) [@shawn93](https://replit.discourse.group/u/shawn93)
#### Post date: [September 20, 2025, 1:33pm UTC](https://replit.discourse.group/t/agent-3-attempts-to-test-when-it-cant-login-overrides-all-authentication/6990/6 "2025-09-20T13:33:22Z")

</div>

Looks like they fixed overriding authentication, Agent told me it failed logging in because it wasn’t given the right username/password just now.
