[PM-20012] fix: Incorrect endpoint saved#2796
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the fix for PM-20012, which removes the Code Review DetailsNo actionable findings. The change is minimal and well-scoped: pre-auth URLs are now only written through the dedicated |
| urls = .defaultUS | ||
| } | ||
|
|
||
| await setPreAuthURLs(urls: managedSettingsURLs ?? urls) |
There was a problem hiding this comment.
🤔 Are there any downsides to removing this? I think this currently is used so that the pre-auth URLs are updated when you switch the active account (the environment URLs when adding a new account are always set to the last active account). Assuming that's still a requirement, we should account for that before removing this.
There was a problem hiding this comment.
You may be right, I didn't test that flow. I'll test that, meanwhile this PR will be in draft. Thank you for bringing this to my attention.
🎟️ Tracking
PM-20012
📔 Objective
We are setting the pre-auth environment URLs when using the autofill. That data is shared with the main app, so if we use the autofill in middle of performing login we will have the wrong environment URLs for the account.