Authentication backend for Yesod using Facebook.

Version on this page:1.6.6
LTS Haskell 16.31:1.10.1
Stackage Nightly 2022-02-07: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
This version can be pinned in stack with:yesod-auth-fb-1.6.6@sha256:22869b0adb40cb6f70fa4c27fa5a3e58f152ee95006f97fbbe7d34400c1c9c88,2658

Module documentation for 1.6.6

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 ( via the Yesod.Auth.Facebook.ServerSide module and the client-side authentication ( 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