Skip to content

Add Facebook login functionality - #987

Closed
lukehutch wants to merge 56 commits into
serverpod:mainfrom
lukehutch:facebook-login
Closed

lukehutch wants to merge 56 commits into
serverpod:mainfrom
lukehutch:facebook-login

Conversation

@lukehutch

@lukehutch lukehutch commented Jun 2, 2023 •

Copy link
Copy Markdown
Contributor

Add Facebook sign-in functionality (addresses #147). Depends upon #989 being merged first.

Re-submitting since I had to update this for the latest version of Serverpod, the PR had bit-rotted... please take a look, I'd love to get this integrated soon.

Pre-launch Checklist

  • I read the Contribute page and followed the process outlined there for submitting PRs.
  • This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
  • I read and followed the Dart Style Guide and formatted the code with dart format.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
  • I added new tests to check the change I am making.
  • All existing and new tests are passing.
  • Any breaking changes are documented below.

If you need help, consider asking for advice on the discussion board.

@vlidholt

vlidholt commented Jun 7, 2023

Copy link
Copy Markdown
Collaborator

We will eventually merge this PR, but it may take some time as we will need to also update the documentation etc.

@lukehutch

Copy link
Copy Markdown
Contributor Author

@vlidholt Thanks. This PR I never expected to be merged quickly :-) The docs definitely need work. I just copied/pasted from another one of the login methods (which also had incomplete documentation), and added a bit of Facebook-specific info. However we really need detailed instructions on how to set up the Facebook developer console, because it's a nightmare. (Google's developer console is even worse, and bug-ridden...)

@a1exhedb

Copy link
Copy Markdown

Do you think this would be included with the 1.2 release?

@vlidholt

Copy link
Copy Markdown
Collaborator

@a1exhedb yes, we should be able to include this one!

@lukehutch

Copy link
Copy Markdown
Contributor Author

There will need to be full instructions about how to set this up properly in the Serverpod docs. Linking to the flutter_facebook_auth library's documentation will help with most of the setup steps. However, here's a solution to another issue I found while I was trying to set this up:

darwin-morocho/flutter-facebook-auth#310 (comment)

@lukehutch

Copy link
Copy Markdown
Contributor Author

I tried bringing this in line with upstream, in case you might want to get this in for Serverpod 2.0.

I couldn't figure out how to recreate all the migrations (util/recreate_all_migrations does not appear to recreate all migrations, so some still use serial rather than bigserial for table primary keys...).

@github-actions

github-actions Bot commented May 7, 2024

Copy link
Copy Markdown

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


1 out of 2 committers have signed the CLA.
✅ @lukehutch
❌ @luke Hutchison
Luke Hutchison seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request

@SandPod SandPod mentioned this pull request May 22, 2025
5 tasks
@SandPod

SandPod commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

@lukehutch - With the reworked authentication we will aim to get this implemented there instead, that work is tracked here: #3640

We will provide an easy way for existing users to migrate to the new authentication and then we can consolidate our efforts on keeping that solution updated.

@SandPod SandPod closed this Jun 25, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants