diff --git a/docs/content/docs/reference/security.mdx b/docs/content/docs/reference/security.mdx index f0901d6352..58444f979a 100644 --- a/docs/content/docs/reference/security.mdx +++ b/docs/content/docs/reference/security.mdx @@ -200,7 +200,7 @@ Trusted origins prevent CSRF attacks and block open redirects. You can set a lis ### Basic Usage -The most basic usage is to specify exact origins: +The most basic usage is to specify exact origins, below is an example of a trusted origins configuration: ```typescript { @@ -211,6 +211,9 @@ The most basic usage is to specify exact origins: ] } ``` + + Do not leave the localhost origin in a trusted origins list of a production auth instance. + ### Wildcard Origins