Skip to content

Commit 307bef0

Browse files
committed
Add documentation for backend settings
1 parent a057c04 commit 307bef0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/integration/configuration.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ OAuth2Client(
5151
)
5252
```
5353

54+
Sometime, a `backend` needs settings. You can define them by enrironment variable (host OS, Docker, .env file, ...)
55+
56+
Syntax is : `SOCIAL_AUTH_<BACKEND_NAME>_<VARIABLE_NAME>`
57+
58+
```bash
59+
# Example: Set API_VERSION to 20.0 for "facebook-app" backend
60+
SOCIAL_AUTH_FACEBOOK_APP_API_VERSION=20.0
61+
```
62+
5463
## Claims
5564

5665
The `Claims` class is used to define the claim mapping for a given OAuth2 client, and it has `display_name`, `identity`,

0 commit comments

Comments
 (0)