Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: document min length for secret #638

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ interface ConfigParams {
/**
* REQUIRED. The secret(s) used to derive an encryption key for the user identity in a stateless session cookie,
* to sign the transient cookies used by the login callback and to sign the custom session store cookies if
* {@Link signSessionStoreCookie} is `true`. Use a single string key or array of keys.
* {@Link signSessionStoreCookie} is `true`. Use a single string key or array of keys. Secrets must be at least 8 characters long.
* If an array of secrets is provided, only the first element will be used to sign or encrypt the values, while all
* the elements will be considered when decrypting or verifying the values.
*
Expand Down