Using BeautifulSoup for webscraping but failed due to double auth factor okta

I am scraping some data for a company project, but all of it is behind the 2-factor okta in place by my company. The OKTA phone factor authentication requires me to enter a code from my phone/hardware token.

Is there any way I can scrape this information? If I run it right now, it just returns the login page (where I have to enter username/pwd before being taken to the 2 factor page).

What is your use case? If you’re trying to access the user dashboard then I believe it makes sense that you need to login first.