Yuki Takei 7 лет назад
Родитель
Сommit
512f45b39a
2 измененных файлов с 11 добавлено и 1 удалено
  1. 6 1
      CHANGES.md
  2. 5 0
      README.md

+ 6 - 1
CHANGES.md

@@ -1,7 +1,12 @@
 CHANGES
 ========
 
-## 3.1.8-RC
+## 3.1.9-RC
+
+* Improvement: Retrieve OAuth settings from environment variables
+* Fix: Couldn't activate GitHub settings after save in /admin/security
+
+## 3.1.8
 
 * Feature: Login with Google Account
 * Feature: Login with GitHub Account

+ 5 - 0
README.md

@@ -165,6 +165,11 @@ Environment Variables
     * SECRET_TOKEN: A secret key for verifying the integrity of signed cookies.
     * SESSION_NAME: The name of the session ID cookie to set in the response by Express. default: `connect.sid`
     * FILE_UPLOAD: `aws` (default), `local`, `none`
+* **Option (Overwritable in admin page)**
+    * OAUTH_GOOGLE_CLIENT_ID: Google API client id for OAuth login
+    * OAUTH_GOOGLE_CLIENT_SECRET: Google API client secret for OAuth login
+    * OAUTH_GITHUB_CLIENT_ID: GitHub API client id for OAuth login
+    * OAUTH_GITHUB_CLIENT_SECRET: GitHub API client secret for OAuth login
 
 
 Documentation