{ "port": "3000", "adminAccount": "admin@admin.com", "timeout": 120000, "db": { "servername": "127.0.0.1", "DATABASE": "yapi", "port": 27017 }, "mail": { "enable": true, "host": "smtp.163.com", "port": 465, "from": "***@163.com", "auth": { "user": "***@163.com", "pass": "*****" } }, "plugins": [ { "name": "kc-oidc", "options": { "authUrl": "http://keycloak.qifu.com/realms/keyfil/protocol/openid-connect/auth", "tokenUrl": "http://keycloak.qifu.com/realms/keyfil/protocol/openid-connect/token", "userUrl": "http://keycloak.qifu.com/realms/keyfil/protocol/openid-connect/userinfo", "callbackUrl": "http://127.0.0.1:3000/api/user/login_by_token", "clientId": "local-yapi", "clientSecret": "el90jCvGjFupwQ6jE778odKRorFrlnhe", "scope": "openid email profile phone ", "emailPostfix": "@keyfil.com" } } ] }