简体   繁体   English

Spring Social凭证Facebook登录

[英]Spring Social credentials Facebook sign in

I've been 2 days trying to understand how does Spring social works. 我花了两天的时间来了解Spring社交的工作原理。 I don't have a high Spring knowledge so i might be asking something really stupid , sorry in thath case :P. 我对Spring没有很高的了解,所以我可能会问一些非常愚蠢的问题,在这种情况下,对不起:P。 The thing is that the example provided by Spring works prefect, but when i try to do exactly the same on other project, when i try to access to /connect/facebook the browser ask me for a username and password, i dont know why. 事情是由Spring提供的示例工作完美,但是当我尝试在其他项目上做完全相同的操作时,当我尝试访问/ connect / facebook时,浏览器会要求我输入用户名和密码,但我不知道为什么。

Thanks you for your time! 谢谢您的宝贵时间! :P :P

Hehe, i think i finally found out the problem. 呵呵,我想我终于找到了问题所在。 I was importing Spring security dependencies and some other that i didn't need. 我正在导入Spring安全性依赖项以及其他一些我不需要的依赖项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM