diff --git a/docs/configuration/full_example.md b/docs/configuration/full_example.md index 99143aca..cea8eef0 100644 --- a/docs/configuration/full_example.md +++ b/docs/configuration/full_example.md @@ -2,6 +2,10 @@ Here is a full working example with JWT authentication to help get you started. +!!! warning + Notice that **SECRET** should be changed to a strong passphrase. + Insecure passwords may give attackers full access to your database. + ``` py tab="SQLAlchemy" {!./src/full_sqlalchemy.py!} ``` diff --git a/docs/configuration/oauth.md b/docs/configuration/oauth.md index 548d488a..dc18ff70 100644 --- a/docs/configuration/oauth.md +++ b/docs/configuration/oauth.md @@ -162,6 +162,10 @@ app.include_router(google_oauth_router, prefix="/auth/google", tags=["auth"]) ### Full example +!!! warning + Notice that **SECRET** should be changed to a strong passphrase. + Insecure passwords may give attackers full access to your database. + ``` py tab="SQLAlchemy" {!./src/oauth_full_sqlalchemy.py!} ```