Closed will-clark closed 10 years ago
To get the avatar from facebook:
This is complete.
If we're looking to test/demo functionality, I recommend modifying the hosts file on your local computer to map localhost to localhost.anotherglass.net and access the server via http://localhost.anotherglass.net.
Facebook requires us to setup a white list of acceptable domains to authenticate from and it doesn't allow plain old localhost.
https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/
app id = 215985131929804 app secret = 02e72bd76778e992d3d9b62599fabd88
https://cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Client+Quickstart
How to do the Shiro stuffs:
http://mrdwnotes.wordpress.com/2011/11/28/using-apache-shiro-security-to-allow-login-via-facebook-part-2/