What happened

Shares of Okta (OKTA -1.79%), the cloud-identity software company, took a dive today on a bearish analyst note and as several other cloud stocks issued disappointing earnings reports.

The stock closed down 10.2% on Friday.

So what

In a note this morning, Morgan Stanley analyst Hamza Fodderwala lowered his price target on Okta from $93 to $65 and maintained an equal weight rating on the stock. Fodderwala cited execution challenges and a worsening macro environment, and also said he didn't think the company would present updated financial targets at next Wednesday's Investor Day conference or that the conference would be a catalyst for a recovery.

Separately, several cloud-software stocks offered disappointing earnings reports that included warnings about the macro environment. Among the software stocks heading south today were TwilioAtlassianAppian, and Cloudflare, and although Twilio and Atlassian were the only two of the four to lower their guidance, pessimism swept the software sector as many investors still believe these stocks are overvalued, especially as many of them are unprofitable.

Now what

Weak guidance from Twilio or Atlassian doesn't necessarily impact Okta, as these companies aren't direct competitors. Okta also already sold off sharply on its most recent earnings report as it pulled its long-term guidance, meaning the worst for the stock may already be out there.

However, it's clear that the macro environment is impacting the software sector, and that is continuing to weigh on valuations. Okta management said in its latest earnings report that it was starting to see longer sales cycles, a sign that customers were getting more cautious.

Still, its cloud software is an essential tool for logging in securely and staying connected, and businesses need to have an identity solution. We should learn more about its prospects at the Investor Day conference next week, and Okta's third-quarter earnings report is due out at the end of the month.