ehristoforu commited on
Commit
68f8651
1 Parent(s): a5b6a9c

Update .env.local.template

Browse files
Files changed (1) hide show
  1. .env.local.template +4 -5
.env.local.template CHANGED
@@ -13,11 +13,10 @@ HF_ACCESS_TOKEN=#hf_<token> from from https://huggingface.co/settings/token
13
  SERPAPI_KEY=#your serpapi key here
14
 
15
  # Parameters to enable "Sign in with HF"
16
- OPENID_CONFIG=`{
17
- PROVIDER_URL: "https://huggingface.co",
18
- CLIENT_ID: "${OPENID_CLIENT_ID}",
19
- CLIENT_SECRET: "${OPENID_CLIENT_SECRET}"
20
- }`
21
 
22
 
23
 
 
13
  SERPAPI_KEY=#your serpapi key here
14
 
15
  # Parameters to enable "Sign in with HF"
16
+ OPENID_CLIENT_ID=${OPENID_CLIENT_ID}
17
+ OPENID_CLIENT_SECRET=${OPENID_CLIENT_SECRET}
18
+ OPENID_SCOPES="openid profile" # Add "email" for some providers like Google that do not provide preferred_username
19
+ OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.google.com
 
20
 
21
 
22