You are currently viewing the new Anvil Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the new Anvil Editor Docs

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.

Do you still have questions?

Our Community Forum is full of helpful information and Anvil experts.