XML 63 R49.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Employee Incentive Plans - Narrative (Details) |  | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | ---
Feb. 17, 2017 USD ($) shares | Mar. 31, 2017 offering_period | Feb. 28, 2017 USD ($) shares | Jul. 31, 2018 USD ($) $ / shares shares | Jul. 31, 2017 USD ($) shares | Jul. 31, 2018 USD ($) incentive_plan $ / shares shares | Jul. 31, 2017 USD ($) $ / shares shares | Jan. 31, 2018 USD ($) shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Number of equity incentive plans | incentive_plan |  |  |  |  |  | 2 |  |  |
Options to purchase common stock outstanding (in shares) | shares |  |  |  | 20,898,490 |  | 20,898,490 |  |  | 24,917,045
Weighted average grant date fair value of options granted (in dollars per share) | $ / shares |  |  |  |  |  | $ 17.21 | $ 5.36 |  |
Grant date fair value of vested stock options |  |  |  | $ 7,800,000 | $ 8,400,000 | $ 13,500,000 | $ 13,000,000 |  |
Intrinsic value of options exercised |  |  |  | 73,200,000 | $ 5,300,000 | 155,100,000 | 19,300,000 |  |
Unrecognized stock-based compensation expense related to stock options |  |  |  | $ 50,900,000 |  | $ 50,900,000 |  |  |
Number of options, granted (in shares) | shares |  |  |  |  |  | 684,500 |  |  |
Issuance of common stock under employee stock purchase plan |  |  |  |  |  | $ 6,700,000 |  |  |
General and administrative expense recognized |  |  |  |  |  | $ 1,008,000 | $ 0 | [1] |
Class A Common Stock | Contribution of Nonmonetary Assets to Charitable Organization |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Shares issued as charitable contribution (in shares) | shares |  |  |  | 20,000 | 0 | 20,000 | 0 |  |
General and administrative expense recognized |  |  |  | $ 1,000,000 | $ 0 | $ 1,000,000 | $ 0 |  |
Restricted stock units |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Weighted average stock-based compensation recognition period |  |  |  |  |  |  |  |  | 3 years 5 months 9 days
Unrecognized compensation costs related to unvested restricted stock units |  |  |  |  |  |  |  |  | $ 180,200,000
Granted during period (in shares) | shares |  |  |  |  |  | 2,752,588 |  |  |
Vested during period (in shares) | shares |  |  |  |  |  | 542,969 |  |  |
Stock options |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Weighted average stock-based compensation recognition period |  |  |  |  |  | 2 years 3 months 4 days |  |  |
ESPP |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Weighted average stock-based compensation recognition period |  |  |  |  |  | 7 months 28 days |  |  |
Unrecognized compensation costs related to unvested restricted stock units |  |  |  | $ 5,300,000 |  | $ 5,300,000 |  |  |
ESPP offering period |  | 12 months |  |  |  |  |  |  |
Number of offering periods | offering_period |  | 2 |  |  |  |  |  |  |
ESPP length of purchase period |  | 6 months |  |  |  |  |  |  |
Shares issued under ESPP (in shares) | shares |  |  |  | 434,640 |  | 434,640 |  |  |
Weighted average price, shares issued under ESPP (in usd per share) | $ / shares |  |  |  | $ 15.31 |  | $ 15.31 |  |  |
Stormpath Inc. |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Pre-combination service consideration | $ 3,700,000 |  |  |  |  |  |  |  |
Stormpath Inc. | Restricted common stock |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Granted during period (in shares) | shares | 800,000 |  |  |  |  |  |  |  |
Shares issued fair value | $ 8,600,000 |  |  |  |  |  |  |  |
Stormpath Inc. | Restricted stock awards |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Weighted average stock-based compensation recognition period |  |  |  |  |  | 7 months 6 days |  |  |
Unrecognized compensation costs related to unvested restricted stock units |  |  |  | $ 1,200,000 |  | $ 1,200,000 |  |  |
Vested during period (in shares) | shares |  |  |  |  |  | 400,000 |  |  |
Stormpath Inc. | Stormpath Workforce |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Unrecognized stock-based compensation expense related to stock options |  |  | $ 2,100,000 | 1,400,000 |  | $ 1,400,000 |  |  |
Shares issued fair value | 9,100,000 |  |  |  |  |  |  |  |
Pre-combination service consideration | $ 1,500,000 |  |  |  |  |  |  |  |
Stormpath Inc. | Stormpath Workforce | Restricted stock awards |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Weighted average stock-based compensation recognition period |  |  |  |  |  | 1 year 4 days |  |  |
Unrecognized compensation costs related to unvested restricted stock units |  |  | $ 5,500,000 | $ 1,400,000 |  | $ 1,400,000 |  |  |
Granted during period (in shares) | shares |  |  | 598,500 |  |  |  |  |  |
Shares issued fair value |  |  | $ 6,600,000 |  |  |  |  |  |
Vested during period (in shares) | shares |  |  |  |  |  | 210,850 |  |  |
Stormpath Inc. | Stormpath Workforce | Stock options |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Weighted average stock-based compensation recognition period |  |  |  |  |  | 1 year 10 months 24 days |  |  |
Shares issued fair value |  |  | $ 2,500,000 |  |  |  |  |  |
Stock-based compensation vesting period |  |  | 4 years |  |  |  |  |  |
Number of options, granted (in shares) | shares |  |  | 518,900 |  |  |  |  |  |
Minimum | Stormpath Inc. | Stormpath Workforce | Restricted stock awards |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Stock-based compensation vesting period |  |  | 2 years |  |  |  |  |  |
Maximum | Stormpath Inc. | Stormpath Workforce | Restricted stock awards |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Stock-based compensation vesting period |  |  | 3 years |  |  |  |  |  |
2009 Stock Plan | Class B Common Stock |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Options to purchase common stock outstanding (in shares) | shares |  |  |  | 20,133,894 |  | 20,133,894 |  |  |
2017 Equity Incentive Plan | Class A Common Stock |  |  |  |  |  |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |  |  |  |  |  |
Options to purchase common stock outstanding (in shares) | shares |  |  |  | 764,596 |  | 764,596 |  |  |
[1] | See Note 2 for a summary of adjustments.

X
- Definition Share Based Compensation Arrangement By Share Based Payment Award, Number Of Offering Periods + References No definition available. + Details
Name: | okta_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfOfferingPeriods
Namespace Prefix: | okta_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share Based Compensation Arrangement By Share Based Payment Award, Offering Period + References No definition available. + Details
Name: | okta_ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod
Namespace Prefix: | okta_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share Based Compensation Arrangement By Share Based Payment Award, Purchase Period + References No definition available. + Details
Name: | okta_ShareBasedCompensationArrangementByShareBasedPaymentAwardPurchasePeriod
Namespace Prefix: | okta_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other Than Options, Granted in Period, Aggregate Fair Value + References No definition available. + Details
Name: | okta_SharebasedCompensationArrangementbySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantedinPeriodAggregateFairValue
Namespace Prefix: | okta_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Number Of Equity Incentive Plans + References No definition available. + Details
Name: | okta_SharebasedCompensationArrangementbySharebasedPaymentAwardNumberOfEquityIncentivePlans
Namespace Prefix: | okta_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Stock Issued During Period, Shares, New Issues, Charitable Contribution + References No definition available. + Details
Name: | okta_StockIssuedDuringPeriodSharesNewIssuesCharitableContribution
Namespace Prefix: | okta_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6578-128477 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=35744584&loc=d3e6927-128479 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 805 -SubTopic 30 -Section 30 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=6911251&loc=d3e6613-128477 + Details
Name: | us-gaap_BusinessCombinationConsiderationTransferred1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Weighted average period over which unrecognized compensation is expected to be recognized for equity-based compensation plans, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Unrecognized cost of unvested share-based awards, other than options, awarded to employees as compensation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Unrecognized cost of unvested options awarded to employees as compensation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Noncash charitable contributions made by the entity during the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -URI http://asc.fasb.org/extlink&oid=98514028&loc=d3e3602-108585 + Details
Name: | us-gaap_NoncashContributionExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(1) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(2) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Gross number of share options (or share units) granted during the period. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(1) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of options outstanding, including both vested and non-vested options. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(1)(i)-(ii) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The weighted average of per share prices paid for shares purchased on the open market for issuance to employees under the plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5047-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesPurchased
Namespace Prefix: | us-gaap_
Data Type: | num:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of share instruments newly issued under a share-based compensation plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=96867065&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedInPeriodFairValue1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Aggregate change in value for stock issued during the period as a result of employee stock purchase plan. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=84159872&loc=d3e21463-112644 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_NonmonetaryTransactionTypeAxis=us-gaap_ContributionOfNonmonetaryAssetsToCharitableOrganizationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=okta_StormpathInc.Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=okta_RestrictedCommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TitleOfIndividualAxis=okta_StormpathWorkforceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RangeAxis=us-gaap_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=okta_A2009StockPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementClassOfStockAxis=us-gaap_CommonClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=okta_A2017EquityIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |