victor HF Staff commited on
Commit
348170b
·
1 Parent(s): 3511173

Add OpenID and session config variables to .env

Browse files

Introduced new environment variables for OpenID authentication (client ID, secret, scopes), session cookie naming, user token usage, and automatic login. These additions support enhanced authentication and session management configuration.

Files changed (1) hide show
  1. .env +7 -0
.env CHANGED
@@ -26,6 +26,13 @@ PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_A
26
  PUBLIC_APP_DESCRIPTION=# description used throughout the app
27
  PUBLIC_APP_DATA_SHARING=# Set to 1 to enable an option in the user settings to share conversations with model authors
28
 
 
 
 
 
 
 
 
29
  ### Local Storage ###
30
  MONGO_STORAGE_PATH= # where is the db folder stored
31
 
 
26
  PUBLIC_APP_DESCRIPTION=# description used throughout the app
27
  PUBLIC_APP_DATA_SHARING=# Set to 1 to enable an option in the user settings to share conversations with model authors
28
 
29
+ COUPLE_SESSION_WITH_COOKIE_NAME=
30
+ OPENID_CLIENT_ID=
31
+ OPENID_CLIENT_SECRET=
32
+ OPENID_SCOPES="openid profile inference-api"
33
+ USE_USER_TOKEN=
34
+ AUTOMATIC_LOGIN=
35
+
36
  ### Local Storage ###
37
  MONGO_STORAGE_PATH= # where is the db folder stored
38