Facebook Integration

Log users in to your app with Facebook

You can log users in with their Facebook accounts, meaning they don’t have to sign up for your app.

You can add Facebook Login to the Users Service login form - see Users:Authentication Choices for more details, and check the Quickstart to see how to get it set up.

You can also use anvil.facebook.auth.login() to present a simple login dialog for only Facebook login. If you use anvil.facebook.auth.login(), your users’ login details are not stored in Anvil’s Data Tables.

There are analogous login options for Microsoft and Google accounts.

To find out how to configure Facebook to recognise your Anvil app, see Linking Facebook and Anvil.