Răsfoiți Sursa

translation json: client secret

sou 7 ani în urmă
părinte
comite
1d732e9d6e
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      lib/locales/en-US/translation.json
  2. 1 1
      lib/service/passport.js

+ 1 - 1
lib/locales/en-US/translation.json

@@ -322,7 +322,7 @@
 		"select_webapp": "Select \"Web Application\"",
     "change_redirect_url": "Enter <code>https://${crowi.host}/google/callback</code> <br>(where < code > $ {crowi.host} < /code> is your host name) for \"Authorized redirect URIs\".",
     "clientID": "Client ID",
-    "client_secret": "クライアントシークレット",
+    "client_secret": "Client Secret",
     "guest_mode": {
       "deny": "Deny Unregistered Users",
       "readonly": "View Only"

+ 1 - 1
lib/service/passport.js

@@ -266,7 +266,7 @@ class PassportService {
     passport.use(new GoogleStrategy({
       clientId: config.crowi['security:passport-google:clientId'],
       clientSecret: config.crowi['security:passport-google:clientSecret'],
-      callbackURL: 'http://localhost:3000/passport/google/callback',
+      callbackURL: 'http://localhost:3000/passport/google/callback',  //change this
       skipUserProfile: false,
     }, function(accessToken, refreshToken, profile, done) {
       if (profile) {