Skip to content

Commit

Permalink
doc: add warning for ignoreLifetime option (#1295)
Browse files Browse the repository at this point in the history
OKTA-527833 doc: add warning for ignoreLifetime option
  • Loading branch information
shuowu-okta authored Sep 6, 2022
1 parent 47539fe commit 12d70bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,9 @@ Defaults to 300 (five minutes). This is the maximum difference allowed between a

#### `ignoreLifetime`

Token lifetimes are validated using the `maxClockSkew`.
To override this and disable token lifetime validation, set this value to `true`.
> :warning: This option disables token lifetime validation, which can introduce security vulnerability issues. This option should be used for testing purpose. Please handle the error in your own app for production environment.
Token lifetimes are validated using the [maxClockSkew](#maxClockSkew). To override this and disable token lifetime validation, set this value to `true`.

#### `transformAuthState`

Expand Down

0 comments on commit 12d70bc

Please sign in to comment.