XML 106 R33.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Common Stock and Stockholders' Equity (Tables) | 12 Months Ended
--- | ---
Jan. 31, 2020
Equity [Abstract] |
Schedule of Common Stock Reserved for Future Issuance | As of January 31, 2020, shares of common stock reserved for future issuance were as follows:
| As of January 31, 2020
Options and unvested RSUs outstanding | 17,252,543 |
Available for future stock option and RSU grants | 16,456,003 |
Available for ESPP | 3,653,857 |
| 37,362,403 |

X
- Definition Schedule Of Common Stock Reserved For Future Issuance [Table Text Block] + References No definition available. + Details
Name: | okta_ScheduleOfCommonStockReservedForFutureIssuanceTableTextBlock
Namespace Prefix: | okta_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_EquityAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration