Yes , this happens and usually because we enable 2FA changes how authentication is handled for the web login ,and some automation were incorrectly relying on session cookies ,browser logins, or interactive auth flows instead of proper API credentials
For openAI-style API do the following
-
Dont automate the web login
-
Do not bypass 2FA
Instead do this
-
Use API keys
-
Service accounts
-
OAuth client credentials
-
PATS(personal access token)
-
Workload identities/managed identities
The workaround differs slightly , but the core idea is the same separate human authemtications from machine authentication
Hope this helps