我想在我的appliaction中仅支持facebook,twitter和google,因此我从securesocial.conf
删除了其他提供商。我的应用程序现在无法启动,我收到以下错误:
Cannot load plugin
An exception occurred during Plugin [securesocial.core.providers.LinkedInProvider] initialization
No source available, here is the exception stack trace:
->java.lang.RuntimeException: [securesocial] Missing properties for provider 'linkedin'. Verify your configuration file is properly set.
securesocial.core.IdentityProvider.throwMissingPropertiesException(IdentityProvider.scala:136)
securesocial.core.OAuth1Provider.createServiceInfo(OAuth1Provider.scala:50)
securesocial.core.OAuth1Provider.<init>(OAuth1Provider.scala:33)
securesocial.core.providers.LinkedInProvider.<init>(LinkedInProvider.scala:29)
这是一个错误还是我遗漏了一些东西而且我要以其他方式配置SecureSocial?
SecureSocial:提交6f0ff343e1,播放2.1
提前致谢!
答案 0 :(得分:2)
您必须正确配置conf/play.plugins
并删除不需要的提供商。另请参阅http://securesocial.ws/guide/installation.html