yesod-auth-fb

Authentication backend for Yesod using Facebook. https://github.com/prowdsponsor/yesod-auth-fb

Version on this page:1.7
LTS Haskell 16.3:1.10.1
Stackage Nightly 2020-07-04:1.10.1
Latest on Hackage:1.10.1

See all snapshots yesod-auth-fb appears in

BSD-3-Clause licensed by Felipe Lessa, Michael Snoyman
Maintained by Felipe Lessa

Module documentation for 1.7

This version can be pinned in stack with:[email protected]:1e2409bcb4a1bd3c31f1c6313e4f7014aba409b8f12b0578ca76bdf0ea7fbf96,2656

This package allows you to use Yesod's authentication framework with Facebook as your backend. That is, your site's users will log in to your site through Facebook. Your application need to be registered on Facebook.

This package works with both the server-side authentication flow (https://developers.facebook.com/docs/authentication/server-side/) via the Yesod.Auth.Facebook.ServerSide module and the client-side authentication (https://developers.facebook.com/docs/authentication/client-side/) via the Yesod.Auth.Facebook.ClientSide module. It's up to you to decide which one to use. The server-side code is older and as such has been through a lot more testing than the client-side code. Also, for now only the server-side code is able to work with other authentication plugins. The client-side code, however, allows you to use some features that are available only to the Facebook JS SDK (such as automatically logging your users in, see https://developers.facebook.com/blog/post/2012/05/08/how-to--improve-the-experience-for-returning-users/).