草庐IT

javascript - Passport-Facebook 身份验证未为所有 Facebook 帐户提供电子邮件

我正在使用Passport-Facebook身份验证。passport.use(newFacebookStrategy({clientID:'CLIENT_ID',clientSecret:'CLIENT_SECRET',callbackURL:"http://www.example.com/auth/facebook/callback"},function(accessToken,refreshToken,profile,done){process.nextTick(function(){console.log(profile)});}));对于某些Facebook帐户,我没有得到e

在 IntelliJ Idea 中未为 Kotlin @ConfigurationProperties 类生成 spring-configuration-metadata.json 文件

我正在尝试为我的Spring启动项目生成Spring配置-metadata.json文件。如果我使用java@configurationproperties类,它是正确和自动生成的:@ConfigurationProperties("myprops")publicclassMyProps{privateStringhello;publicStringgetHello(){returnhello;}publicvoidsetHello(Stringhello){this.hello=hello;}}但是,如果我使用kotlin类,则未生成spring-configuration-meta